-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (27 loc) · 2 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: ruby
os:
- linux
- osx
rvm:
- 2.1.0
script: "bundle exec jekyll build"
before_install:
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update -qq; sudo apt-get install -qq valgrind; fi
- if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install llvm cppunit graphviz valgrind && brew link --force llvm; fi
- export VERSION=v0.6.1-beta
script:
- myroot=$PWD
- if [ $TRAVIS_OS_NAME == linux ]; then GPP=g++-4.9; wget --no-check-certificate http://hybridlambda.github.io/release/hybrid-Lambda-${GPP}.zip -o /dev/null; unzip hybrid-Lambda-${GPP}.zip -d ${GPP}; cd ${GPP}; ln -s ${myroot}/trees; ../tests/checkbinary.sh; fi
- cd ${myroot}
- if [ $TRAVIS_OS_NAME == linux ]; then GPP=g++-4.7; wget --no-check-certificate http://hybridlambda.github.io/release/hybrid-Lambda-${GPP}.zip -o /dev/null; unzip hybrid-Lambda-${GPP}.zip -d ${GPP}; cd ${GPP}; ln -s ${myroot}/trees; ../tests/checkbinary.sh; fi
- cd ${myroot}
- if [ $TRAVIS_OS_NAME == linux ]; then GPP=g++-4.8; wget --no-check-certificate http://hybridlambda.github.io/release/hybrid-Lambda-${GPP}.zip -o /dev/null; unzip hybrid-Lambda-${GPP}.zip -d ${GPP}; cd ${GPP}; ln -s ${myroot}/trees; ../tests/checkbinary.sh; fi
- if [ $TRAVIS_OS_NAME == osx ]; then wget --no-check-certificate http://hybridlambda.github.io/release/hybrid-Lambda-OSX10.9.zip -o /dev/null; unzip hybrid-Lambda-OSX10.9.zip -d OSX10.9; cd OSX10.9; ln -s ${myroot}/trees; ../tests/checkbinary.sh; fi
- cd ${myroot}
- wget --no-check-certificate http://hybridlambda.github.io/release/hybrid-lambda-${VERSION}.zip -o /dev/null
- unzip hybrid-lambda-${VERSION}.zip -d zipfolder
- cd zipfolder/hybrid-lambda-${VERSION}; cd src; make; ln -s ../trees; ../../../tests/checkbinary.sh
- cd ${myroot}
- wget --no-check-certificate http://hybridlambda.github.io/release/hybrid-lambda-${VERSION}.tar.gz -o /dev/null
- mkdir tarfolder; tar -xzf hybrid-lambda-${VERSION}.tar.gz -C tarfolder
- cd tarfolder/hybrid-lambda-${VERSION}; cd src; make; ln -s ../trees; ../../../tests/checkbinary.sh