mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 01:07:34 +02:00
Add Linux and macOS continuous integration on Travis
This commit is contained in:
parent
f25d76747d
commit
dc28a6e6a6
1 changed files with 45 additions and 0 deletions
45
.travis.yml
Normal file
45
.travis.yml
Normal file
|
@ -0,0 +1,45 @@
|
|||
language: c
|
||||
sudo: required
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
compiler: gcc
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libtommath-dev
|
||||
- os: linux
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libtommath-dev
|
||||
- clang-3.9
|
||||
- os: osx
|
||||
image: xcode8
|
||||
notifications:
|
||||
email: false
|
||||
before_install:
|
||||
- if [ "$(uname)" = "Darwin" ]; then
|
||||
brew update;
|
||||
brew install -v libtommath concurrencykit;
|
||||
fi
|
||||
- |
|
||||
git clone https://github.com/concurrencykit/ck.git ${HOME}/ck
|
||||
cd ${HOME}/ck
|
||||
git checkout v0.6.0
|
||||
./configure PREFIX=/usr
|
||||
make all
|
||||
sudo make install
|
||||
if [ "$(uname)" = "Linux" ]; then
|
||||
sudo ldconfig
|
||||
fi
|
||||
- |
|
||||
git clone https://github.com/justinethier/cyclone-bootstrap.git ${HOME}/cyclone-bootstrap
|
||||
cd ${HOME}/cyclone-bootstrap
|
||||
make
|
||||
sudo make install
|
||||
script:
|
||||
- make
|
||||
- sudo make install
|
||||
- make test
|
Loading…
Add table
Reference in a new issue