forked from justinethier/cyclone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Linux and macOS continuous integration on Travis
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |