-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
59 lines (59 loc) · 1.56 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: cpp
sudo: false
matrix:
include:
- os: linux
compiler: gcc-4.8.1
script:
- git submodule update --init --recursive
- mkdir ext/glfw/include/GL
- wget --no-check-certificate -P ext/glfw/include/GL https://www.opengl.org/registry/api/GL/glcorearb.h
- cd Assignment_1
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=g++-4.8 -DCMAKE_C_COMPILER=gcc-4.8 ../
- make -j 2
- cd ../../
- cd Assignment_2
- mkdir build
- cd build
- cmake -DCMAKE_CXX_COMPILER=g++-4.8 -DCMAKE_C_COMPILER=gcc-4.8 ../
- make -j 2
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- xorg-dev
- libglu1-mesa-dev
- g++-4.8
- cmake
- cmake-data
# - libblas-dev
# - liblapack-dev
# - binutils
# - libx11-dev
# - mesa-common-dev
# - libgl1-mesa-dev
# - libglu1-mesa-dev
# - libxrandr-dev
# - libxi-dev
# - libxmu-dev
# - libblas-dev
# - xorg-dev
- os: osx
compiler: clang
script:
- git submodule update --init --recursive
- cd Assignment_1
- mkdir build
- cd build
- cmake ../
- make -j 2
- cd ../../
- cd Assignment_2
- mkdir build
- cd build
- cmake ../
- make -j 2