-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
20 lines (20 loc) · 886 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: cpp
compiler: gcc
os:
- osx
- linux
before_install:
- echo $TRAVIS_OS_NAME
#LINUX
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq; fi
install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq g++-4.9; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 90; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install cmake; fi
script:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then python fips set config linux-make-debug ; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then python fips set config osx-xcode-release ; fi
- python fips build
- python fips run test_asti