Skip to content

Commit

Permalink
travis attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
rchikhi committed Jan 31, 2018
1 parent 365cb32 commit 4d167f9
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: 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

0 comments on commit 4d167f9

Please sign in to comment.