forked from iraf-community/iraf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (43 loc) · 1.14 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
matrix:
include:
- os: linux
dist: xenial
env: IRAFARCH=linux64 OS_VERS=xenial
addons:
apt:
packages:
- libreadline-dev
- os: linux
dist: xenial
env: IRAFARCH=linux OS_VERS=xenial CARCH="-m32"
addons:
apt:
packages:
- gcc-multilib
- libcurl4-openssl-dev:i386
- libexpat1-dev:i386
- libreadline-dev:i386
- os: osx
osx_image: xcode10.2
env: IRAFARCH=macintel OS_VERS=mojave
- os: osx
osx_image: xcode9.4
env: IRAFARCH=macosx OS_VERS=highsierra CARCH="-m32"
install:
- if [ $TRAVIS_OS_NAME = osx ]; then brew install ccache; PATH=/usr/local/opt/ccache/libexec:$PATH ; fi
language: c
cache:
ccache: true
directories:
- $HOME/.ccache
git:
depth: 3
before_script:
- build_tmp=$(mktemp -d -t irafbuild.XXXXXXXXX)
- mkdir -p ${build_tmp}/bin
- PATH=${build_tmp}/bin:$PATH
- ./install --term xterm --bindir $build_tmp/bin --cache $build_tmp/cache --imdir $build_tmp/imdir --root $(pwd) < /dev/null || true
- make ${IRAFARCH}
- make sysgen
script:
- ./test/run_tests