You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls==0.3.12; fi
81
+
- rvm reset
82
+
# Remove /opt/python/3.x.x/bin from $PATH for using system python3.
83
+
# ("pyenv global system" doesn't seem to work.)
84
+
- if [ "$TRAVIS_OS_NAME" = "linux" ] && which python3 | grep '/opt/python/' > /dev/null; then export PATH=$(echo $PATH | sed -e "s#$(echo $(which python3) | sed -e 's#/python3$##'):##"); fi
85
+
- if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls; fi
81
86
# needed for https support for coveralls
82
87
# building cffi only works with gcc, not with clang
83
88
- if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi
84
89
# Lua is not installed on Travis OSX
85
90
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install lua; export LUA_PREFIX=/usr/local; fi
91
+
# Use llvm-cov instead of gcov when compiler is clang.
92
+
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CC" = "clang" ]; then ln -sf $(which llvm-cov) /home/travis/bin/gcov; fi
86
93
87
94
# Start virtual framebuffer to be able to test the GUI. Does not work on OS X.
88
95
before_script:
@@ -93,7 +100,8 @@ script:
93
100
- if [ "$CHECK_AUTOCONF" = "yes" -a "$CC" = "gcc" ]; then make -C src autoconf; fi
94
101
- if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi
95
102
- (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && if [ "$BUILD" = "yes" ]; then make -j$NPROC; fi)
96
-
- if [ "$BUILD" = "yes" ]; then ${SRCDIR}/vim --version; fi
0 commit comments