mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 00:46:17 +08:00
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"
49 lines
796 B
YAML
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
|