Skip to content

Commit

Permalink
Add Linux and macOS continuous integration on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed Nov 11, 2017
1 parent f25d767 commit dc28a6e
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dc28a6e

Please sign in to comment.