Files
GmSSL/.travis.yml
Yuxiang LIU a15b215389 Update .travis.yml (#990)
According to [Ubuntu Release](https://wiki.ubuntu.com/Releases) 
End of Standard Support of `trusty` is April 2019
We should bump to Ubuntu 16.04.6 LTS "xenial"
2020-07-07 09:56:15 +08:00

49 lines
796 B
YAML

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