-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
68 lines (64 loc) · 1.87 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
60
61
62
63
64
65
66
67
68
language: c++
matrix:
include:
- os: linux
compiler: gcc
sudo: required
- os: linux
compiler: clang
sudo: required
- os: osx
compiler: clang
osx_image: xcode8.3
- os: osx
compiler: clang
osx_image: xcode9.3
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get -qq update &&
sudo apt-get -y install freeglut3-dev libsndfile1-dev libopenal-dev libxrandr-dev &&
sudo apt-get -y install libc6:i386 libstdc++6:i386 ;
fi
install:
- ./setup.sh
script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cd ~/build/orx/orx/code/build/mac/gmake ;
else
cd ~/build/orx/orx/code/build/linux/gmake ;
fi
- make config=debug64
- make config=profile64
- make config=release64
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cd ~/build/orx/orx/tutorial/build/mac/gmake ;
else
cd ~/build/orx/orx/tutorial/build/linux/gmake ;
fi
- make config=release64
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cd ~/build/orx/orx/code/build/mac/gmake ;
else
cd ~/build/orx/orx/code/build/linux/gmake ;
fi
- make config=core_release64
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cd ~/build/orx/orx/tools/orxCrypt/build/mac/gmake ;
else
cd ~/build/orx/orx/tools/orxCrypt/build/linux/gmake ;
fi
- make config=release64
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
cd ~/build/orx/orx/tools/orxFontGen/build/mac/gmake ;
else
cd ~/build/orx/orx/tools/orxFontGen/build/linux/gmake ;
fi
- make config=release64
- cd ~/build/orx/orx/code/build/python
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
python package.py -p mac &&
python package.py -p tutomac;
else
python package.py -p linux64 &&
python package.py -p tutolinux64;
fi