forked from blitzpp/blitz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (36 loc) · 1.73 KB
/
.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
37
38
39
40
41
42
language: cpp
os:
- linux
- osx
compiler:
- gcc
- clang
# TODO: Debug & Release modes
install:
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo apt-get --no-install-recommends install texinfo texlive-base; fi
script:
- aclocal
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then glibtoolize; fi
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then libtoolize; fi
- autoheader
- automake --add-missing
- autoreconf
- ./configure
- make lib # Check the compiler and create libblitz.a
# TODO: make a failure result in non-zero exit code! (see https://travis-ci.org/slayoo/blitz/builds/359545927)
- make check-testsuite # Build and check the testsuite
- make check-examples # Build and check the examples
# TODO! (fails with error: no such file or directory: 'arrdaxpyf.o')
# - make check-benchmarks # Build and check the benchmarks (takes a long time)
- sudo make install # Install Blitz++
- make info # Build Blitz++ texinfo documentation
# TODO: fails with /usr/bin/texi2dvi: texinfo.tex appears to be broken.
#- make ps # Build Blitz++ ps documentation
# - make pdf # Build Blitz++ pdf documentation
- make html # Build Blitz++ html documentation
- sudo make install-info # Install Blitz++ texinfo documentation
#- sudo make install-ps # Install Blitz++ ps documentation
#- sudo make install-pdf # Install Blitz++ pdf documentation
- sudo make install-html # Install Blitz++ html documentation
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then sudo apt-get --no-install-recommends install python-git; fi
- if [[ $TRAVIS_OS_NAME == 'linux' ]]; then LD_LIBRARY_PATH=/usr/local/lib ./travis-ci/check-wiki-examples.py; fi