-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (28 loc) · 810 Bytes
/
Copy path.travis.yml
File metadata and controls
33 lines (28 loc) · 810 Bytes
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
git:
depth: 1
language: c
os:
- osx
# - linux
# - windows
env:
global:
- SDL_VIDEODRIVER=dummy
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- clang
- cmake
- cmake-data
before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq update; fi
script:
- echo $TRAVIS_OS_NAME
- cmake --version
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then clang --version; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo pip3 install -r requirements.txt; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pip3 install -r requirements.txt; fi
- python3 build.py
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then bin/darwin64/cetech_develop -compile -src ./examples/develop/src -build ./examples/develop/build -renderer.type noop; fi