https://github.com/crillab/nacre_mini
Tip revision: 221f423ad4e9ad4dccf8b0c416d032b28b044139 authored by Gaƫl Glorian on 17 June 2019, 12:01:24 UTC
keepOnlyValues bypass fix
keepOnlyValues bypass fix
Tip revision: 221f423
.travis.yml
# This is used by Travis CI site in
# order to build the code online.
language: cpp
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
script:
- CXX=g++-6
- cd samples
# Execute the default recipe
- make
# Test the parser with a TSP instance
- ./test ../instances/tsp-25-843.xml > /dev/null
# Test the parser with a Constraint Optimisation instance
- ./test ../instances/obj.xml > /dev/null
# Test the parser with an instance with all the kinds of constraints:
# This fails as the parser's sample solver doesn't support every constraint
- (! ./test ../instances/example.xml > /dev/null)
# Execute the library recipes
- make lib
- make testlib
# Perform the three tests again for the 'testlib' executable
- ./testlib ../instances/tsp-25-843.xml > /dev/null
- ./testlib ../instances/obj.xml > /dev/null
- (! ./testlib ../instances/example.xml > /dev/null)
- make clean