Skip to content

Commit

Permalink
Fix travis (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtanx authored Aug 31, 2020
1 parent af8e066 commit 3d2cb08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ addons:
- gcc-4.9
- libxcb1-dev
- pkg-config
services:
- xvfb
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update || brew update; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew upgrade cmake || true; fi
before_script:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export CXX="g++-4.9"; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export CC="gcc-4.9"; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export DISPLAY=":99.0"; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sh -e /etc/init.d/xvfb start; fi
script:
- $CXX --version
- $CC --version
Expand Down

0 comments on commit 3d2cb08

Please sign in to comment.