-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
41 lines (36 loc) · 1.01 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
28
29
30
31
32
33
34
35
36
37
38
39
40
sudo: true
git:
depth: 3
language: cpp
compiler: gcc
os:
- osx
- linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports # cmake 3.x
packages:
- cmake
- cmake-data
- gcc-4.8
- g++-4.8
- libglu1-mesa-dev
- xorg-dev
- libasound2-dev
install:
- echo $TRAVIS_OS_NAME
# LINUX
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50; fi
script:
- echo $TRAVIS_OS_NAME
- git --version
# LINUX
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then python fips set config linux-make-debug; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then python fips clean all; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then python fips build; fi
# OSX
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then python fips set config osx-make-debug; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then python fips clean all; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then python fips build; fi