-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
54 lines (54 loc) · 1.61 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
matrix:
include:
- language: c
before_script:
- sudo apt-get install -y libsdl2-dev --no-install-suggests --no-install-recommends
script:
- mkdir build && cd build
- cmake -DCGB=OFF -DROM_TESTS=ON ..
- cmake --build .
- ./tests/rom-tests
compiler: clang
- language: c
before_script:
- sudo apt-get install -y libsdl2-dev --no-install-suggests --no-install-recommends
script:
- mkdir build && cd build
- cmake -DCGB=OFF -DROM_TESTS=ON ..
- cmake --build .
- ./tests/rom-tests
compiler: gcc
- language: c
before_script:
- sudo apt-get install -y libsdl2-dev --no-install-suggests --no-install-recommends
script:
- mkdir build && cd build
- cmake -DCGB=ON -DROM_TESTS=ON ..
- cmake --build .
- ./tests/rom-tests
compiler: clang
- language: c
before_script:
- sudo apt-get install -y libsdl2-dev --no-install-suggests --no-install-recommends
script:
- mkdir build && cd build
- cmake -DCGB=ON -DROM_TESTS=ON ..
- cmake --build .
- ./tests/rom-tests
compiler: gcc
- language: android
jdk: oraclejdk8
android:
components:
- tools
- android-26
- build-tools-26.1.1
install:
- echo y | sdkmanager "ndk-bundle"
before_script:
- export ANDROID_NDK_HOME=$ANDROID_HOME/ndk-bundle
- cd android/ChesterApp
- chmod +x ./gradlew
- yes | sdkmanager "platforms;android-27"
script:
- ./gradlew build