forked from justinethier/cyclone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
73 lines (73 loc) · 1.55 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
63
64
65
66
67
68
69
70
71
72
73
language: c
#sudo: required
matrix:
include:
- os: linux
compiler: gcc
arch: amd64
addons:
apt:
packages:
- libtommath-dev
- os: linux
compiler: clang
arch: amd64
addons:
apt:
packages:
- libtommath-dev
- clang-3.9
- os: linux
compiler: gcc
arch: arm64
addons:
apt:
packages:
- libtommath-dev
- os: freebsd
addons:
pkg:
packages:
- sudo
- gmake
- libtommath
- concurrencykit
notifications:
email: false
before_install:
- |
if [ "$(uname)" != "FreeBSD" ]; then
sudo ln -s /usr/bin/make /usr/bin/gmake
fi
- |
git clone https://github.com/concurrencykit/ck.git ${HOME}/ck
cd ${HOME}/ck
git checkout 0.6.0
./configure PREFIX=/usr
gmake all
if [ "$(uname)" != "FreeBSD" ]; then
sudo gmake install
else
gmake install
fi
if [ "$(uname)" = "Linux" ]; then
sudo ldconfig
fi
- |
git clone https://github.com/justinethier/cyclone-bootstrap.git ${HOME}/cyclone-bootstrap
cd ${HOME}/cyclone-bootstrap
gmake
if [ "$(uname)" != "FreeBSD" ]; then
sudo gmake install
# else
# #gmake install
fi
script:
- gmake
- |
if [ "$(uname)" != "FreeBSD" ]; then
sudo gmake install
gmake test
# else
# # Can't do anything, TravisCI FreeBSD errors out doing sudo
fi