forked from libgdx/libgdx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (42 loc) · 1013 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
35
36
37
38
39
40
41
42
43
sudo: true
git:
depth: 1
branches:
only:
- master
matrix:
include:
- name: "Ant Mac IOS Build"
if: type != pull_request
language: java
os: osx
before_install:
- brew update
- brew install ant
install:
- true
script:
- ant -f build-mac-ios.xml
- name: "Unit Tests"
language: android
android:
components:
- build-tools-25.0.3
- android-25
licenses:
- 'android-sdk-license-.+'
before_install:
- yes | sdkmanager "platforms;android-27"
install:
- ./gradlew fetchNatives
script:
- ./gradlew test
- ./gradlew tests:gdx-tests-gwt:compileGwt
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache