-
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.
- Loading branch information
rchikhi
committed
Jan 31, 2018
1 parent
365cb32
commit 4d167f9
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: cpp | ||
os: | ||
- linux | ||
- osx | ||
compiler: | ||
- clang | ||
- gcc | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
- llvm-toolchain-precise-3.7 | ||
- george-edison55-precise-backports #for cmake3 | ||
packages: | ||
- g++-4.8 | ||
- clang-3.7 | ||
- cmake | ||
- cmake-data | ||
install: | ||
- if [ "`echo $CXX`" == "g++" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then export CXX=g++-4.8; fi | ||
- if [ "`echo $CXX`" == "clang++" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then export CXX=clang++-3.7; fi | ||
matrix: | ||
exclude: | ||
- os: osx | ||
compiler: gcc | ||
script: | ||
- mkdir tools/tigops/build | ||
- cd tools/tigops/build | ||
- cmake .. && make | ||
- cd .. | ||
before_deploy: | ||
- export RELEASE_FILE=$(ls tools/tigops/build/tigops) | ||
- ls | ||
- ls build | ||
- echo "Deploying $RELEASE_FILE to GitHub" | ||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: hQsQR/iRTVbDDJlyJpBln98CT+Mm9GHy/H/gYvLwhoh73f+OmUEreB2HS/KsWp3TTgZeI/ANRBpY11I4Xrai1sntqjXO2LG79pEIoL62AcCBEQJ1RsnkGg9s10qFKzQqImuPDzincnVIrSr92L8kcXBuErU2YK7/Ss5ABzxRN+E= | ||
file: "${RELEASE_FILE}" | ||
skip_cleanup: true | ||
on: | ||
repo: GATB/tigops | ||
tags: true | ||
|