comparison .travis.yml @ 15667:e093e8809467 v8.1.0841

patch 8.1.0841: travis config to get Lua on MacOS is too complicated commit https://github.com/vim/vim/commit/2339fa335fcce46226f871b2c95c433966c711e9 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 28 22:59:36 2019 +0100 patch 8.1.0841: travis config to get Lua on MacOS is too complicated Problem: Travis config to get Lua on MacOS is too complicated. Solution: Use an addons entry. (Ozaki Kiichi, closes 3876)
author Bram Moolenaar <Bram@vim.org>
date Mon, 28 Jan 2019 23:00:06 +0100
parents d255018b40ff
children bec05be6858a
comparison
equal deleted inserted replaced
15666:0591140b84b2 15667:e093e8809467
80 - lua5.2 80 - lua5.2
81 - ruby-dev 81 - ruby-dev
82 - tcl-dev 82 - tcl-dev
83 - cscope 83 - cscope
84 - libgtk2.0-dev 84 - libgtk2.0-dev
85 homebrew:
86 packages:
87 - lua
88 update: true
85 89
86 before_install: 90 before_install:
87 - rvm reset 91 - rvm reset
88 # Remove /opt/python/3.x.x/bin from $PATH for using system python3. 92 # Remove /opt/python/3.x.x/bin from $PATH for using system python3.
89 # ("pyenv global system" doesn't seem to work.) 93 # ("pyenv global system" doesn't seem to work.)
91 - if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls; fi 95 - if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls; fi
92 # needed for https support for coveralls 96 # needed for https support for coveralls
93 # building cffi only works with gcc, not with clang 97 # building cffi only works with gcc, not with clang
94 - if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi 98 - if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi
95 # Lua is not installed on Travis OSX 99 # Lua is not installed on Travis OSX
96 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then export HOMEBREW_NO_AUTO_UPDATE=1; brew update; brew install lua; export LUA_PREFIX=/usr/local; fi 100 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then export LUA_PREFIX=/usr/local; fi
97 # Use llvm-cov instead of gcov when compiler is clang. 101 # Use llvm-cov instead of gcov when compiler is clang.
98 - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CC" = "clang" ]; then ln -sf $(which llvm-cov) /home/travis/bin/gcov; fi 102 - if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CC" = "clang" ]; then ln -sf $(which llvm-cov) /home/travis/bin/gcov; fi
99 103
100 # Start virtual framebuffer to be able to test the GUI. Does not work on OS X. 104 # Start virtual framebuffer to be able to test the GUI. Does not work on OS X.
101 before_script: 105 before_script: