forked from guanzhi/GmSSL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (40 loc) · 796 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
37
38
39
40
41
42
43
44
45
46
47
48
dist: xenial
sudo: required
language: c
cache: ccache
git:
submodules: false
before_install:
- if [ -n "$COVERALLS" ]; then
pip install --user cpp-coveralls;
fi;
- if expr "$CONFIG_OPTS" ":" ".*enable-external-tests" > /dev/null; then
git submodule update --init --recursive;
fi;
addons:
apt:
packages:
- ccache
- golang-1.6
os:
- linux
compiler:
- clang
- gcc
env:
- CONFIG_OPTS=" --prefix=/home/travis/dist/" DESTDIR="_install"
before_script:
- env
- pwd
- ls -l
- ./config -v $CONFIG_OPTS;
script:
- if [ -z "$BUILDONLY" ]; then
make="make -s";
else
make="make";
fi
- mkdir ~/dist
- $make update
- $make
- $make install