Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Commit

Permalink
remove newer cmake features on travis runs
Browse files Browse the repository at this point in the history
  • Loading branch information
folksgl committed Jan 29, 2020
1 parent 17fbd7a commit 0e592dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,10 @@ before_install:
- pip3 install setuptools
- pip3 install wheel
- pip3 install cpp-coveralls
- version=3.16
- build=3
- mkdir ~/temp
- cd ~/temp
- wget https://cmake.org/files/v$version/cmake-$version.$build.tar.gz
- tar -xzvf cmake-$version.$build.tar.gz
- cd cmake-$version.$build/
- ./bootstrap
- make -j$(nproc)
- pip3 install --user cmake
- cmake --version
script:
- make
- make test
- make travis_test
after_success:
- make coverage
- coveralls -l challenger.info
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,9 @@ profile: compile
@./build/challenger < tmp_input_challenger
@$(RM) tmp_input_challenger
gprof -b ./build/challenger gmon.out > analysis

travis: build_dir
cmake --build ./build

travis_test: travis
cmake --build ./build --target test -- --no-print-directory ARGS=-V

0 comments on commit 0e592dc

Please sign in to comment.