-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy path.travis.yml
62 lines (57 loc) · 1.44 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
jobs:
include:
- os: linux
dist: focal
compiler: gcc
env:
- UBUNTU_DISTRO=focal
- DISTRO_PACKAGES="libqt5xmlpatterns5-dev"
- os: linux
dist: focal
compiler: clang
env:
- UBUNTU_DISTRO=focal
- DISTRO_PACKAGES="libqt5xmlpatterns5-dev"
- os: linux
dist: bionic
compiler: gcc
env:
- UBUNTU_DISTRO=bionic
- DISTRO_PACKAGES="libqt5xmlpatterns5-dev"
- os: linux
dist: xenial
compiler: gcc
env:
- UBUNTU_DISTRO=xenial
- DISTRO_PACKAGES=""
cache:
- apt
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq cmake libxml2-dev libjsoncpp-dev gfortran qt5-default qtbase5-dev $DISTRO_PACKAGES
before_script:
- cd ~/
- git clone https://github.com/jhu-cisst/cisstNetlib
- mkdir -p ~/cisstNetlib-build
- mkdir -p ~/cisstNetlib-install
- cd ~/cisstNetlib-build
- cmake ~/cisstNetlib -DCMAKE_INSTALL_PREFIX=~/cisstNetlib-install
- make install
- mkdir -p ~/cisst-build
- cd ~/cisst-build
- cmake -C ~/build/jhu-cisst/cisst/.travis.cache.cmake ~/build/jhu-cisst/cisst
script:
- make
- ls -lR lib
- cd bin
- ls -lR
- ./cisstCommonTests -r
- ./cisstVectorTests -r
- ./cisstOSAbstractionTests -r
- ./cisstParameterTypesTests -r
- ./cisstNumericalTests -r
notifications:
email:
on_success: change
on_failure: always