https://github.com/crillab/nacre_mini
Tip revision: 10b171a8fe3b3d0a89f3296b00be35167631ed90 authored by Gaƫl Glorian on 07 May 2018, 16:07:40 UTC
Initial commit
Initial commit
Tip revision: 10b171a
.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