Setting up Travis working for coverage

This commit is contained in:
Michael Tryby
2019-02-08 13:18:06 -05:00
parent 8a7277eab0
commit cc7f9f13f5
2 changed files with 14 additions and 10 deletions

View File

@@ -1,5 +1,8 @@
language: python
python:
- "3.6"
env:
global:
- EPANET_HOME=`pwd`
@@ -8,16 +11,17 @@ env:
before_install:
- sudo apt-get -qq update
install:
- sudo apt-get install -y libboost-test-dev
- sudo apt-get install -y libboost-thread-dev
- sudo apt-get install -y swig
#install:
- pip install -r tools/requirements.txt
before_script:
- mkdir -p $BUILD_HOME
- cd $BUILD_HOME
- cmake -DBUILD_TESTS=ON ..
- cmake -DBUILD_TESTS=ON -DBUILD_COVERAGE=ON ..
script:
- cmake --build .