2015-05-11 19:38:36 +08:00
|
|
|
# .travis.yml for HSTR
|
|
|
|
|
|
|
|
language: c
|
|
|
|
|
2017-10-09 05:12:40 +08:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- autotools-dev
|
|
|
|
- libreadline-dev
|
|
|
|
- libncursesw5-dev
|
2015-05-11 19:38:36 +08:00
|
|
|
|
2017-10-09 05:12:40 +08:00
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- if: branch = master
|
|
|
|
compiler: gcc
|
|
|
|
os: osx
|
|
|
|
script: brew install --HEAD jq && brew test jq
|
|
|
|
- if: branch = master
|
|
|
|
compiler: clang
|
|
|
|
os: osx
|
|
|
|
script: brew install --HEAD jq && brew test jq
|
2015-05-11 19:38:36 +08:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: change
|
|
|
|
|
|
|
|
before_install:
|
2015-05-11 21:39:45 +08:00
|
|
|
- aclocal
|
|
|
|
- automake --force-missing --add-missing
|
|
|
|
- autoconf
|