Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
smasherprog committed Jan 25, 2021
2 parents 0928765 + 6f127ea commit 49873d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ matrix:
osx_image: xcode12.2
compiler: clang
- os: linux
env: CLANG_VERSION=7.0 BUILD_TYPE=Release
env: BUILD_TYPE=Release
addons:
apt:
packages:
Expand All @@ -17,7 +17,8 @@ matrix:
- libxinerama-dev
- cmake
before_install:
- if [[ -n "$CLANG_VERSION" ]]; then export CXX=clang++-$CLANG_VERSION CC=clang-$CLANG_VERSION; fi
- if [[ "$CXX" == "g++" ]]; then export CC="gcc-9" ;fi
- if [[ "$CXX" == "g++" ]]; then export CXX="g++-9" ;fi

script:
- cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_SHARED_LIBS=OFF -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_C_COMPILER="$CC" . && make;
Expand Down

0 comments on commit 49873d5

Please sign in to comment.