forked from mkoeppe/Normaliz-bindist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (32 loc) · 1009 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: ruby
matrix:
include:
## Test on Mac OS X 10.13
- os: osx
osx_image: xcode9.3beta
## Test on Mac OS X 10.12
- os: osx
osx_image: xcode9.2
## Test on Mac OS X 10.11
- os: osx
osx_image: xcode8
## Test on Mac OS X 10.10
- os: osx
osx_image: xcode6.4
branches:
except:
- gh-pages
install:
- tar xfz normaliz-*-x86_64-apple-darwin*.tar.gz
script:
## First test whether the programs can be executed.
- bin/normaliz --version
## Show shared library dependencies
- otool -L bin/*
## Now test against the test suite, including integration and algebraic polyhedra
- git clone https://github.com/Normaliz/Normaliz.git
- export NORMALIZ="`pwd`/bin/normaliz"
- export NMZ_TEST_TARGETS="total"
- (cd Normaliz/test && make -j3 -k -f Makefile.classic $NMZ_TEST_TARGETS NORMALIZ="$NORMALIZ")
## The distribution also contains libraries and header files;
## we do not attempt to test that they work.