-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (34 loc) · 962 Bytes
/
.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
dist: trusty
sudo: require
language: cpp
compiler: gcc
os:
- linux
- osx
addons:
apt:
sources:
- sourceline: "ppa:george-edison55/cmake-3.x"
- ubuntu-toolchain-r-test
packages:
- cmake
- cmake-data
- gcc-7
- g++-7
- libglu1-mesa-dev
- xorg-dev
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ln -s /usr/bin/gcc-7 /usr/local/bin/gcc ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo ln -s /usr/bin/g++-7 /usr/local/bin/g++ ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CC=/usr/bin/gcc-7 ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=/usr/bin/g++-7 ; fi
- gcc -v && g++ -v && cmake --version
- git --version
# setup and check fips
- git clone https://github.com/floooh/fips.git ../fips
# build
- python fips gen
- python fips list targets
- python fips build
# run tests
- python fips run crTest