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 .

View File

@@ -1,17 +1,17 @@
#
# requirements.txt
# requirements.txt
#
# Date Created: 10/10/2017
# Author: Michael E. Tryby
# US EPA ORD/NRMRL
#
# Useful for configuring a python environment to run epanet-nrtestsuite.
# Useful for configuring a python environment to run epanet-nrtestsuite.
#
# command:
# command:
# $ pip install --src build/packages -r tools/requirements.txt
#
#-e git+https://github.com/OpenWaterAnalytics/nrtest.git@master#egg=nrtest
cpp-coveralls
nrtest>=0.2.3
-e ./tools/epanet-output
-e ./tools/nrtest-epanet
#-e ./tools/epanet-output
#-e ./tools/nrtest-epanet