forked from jsettlers/settlers-remake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (39 loc) · 1.26 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
language: android
sudo: true
jdk:
- oraclejdk8
android:
components:
# Those two lines allow us to use any build tools version.
- tools
- platform-tools
- build-tools-23.0.3
- android-15
before_install:
- mkdir -p $HOME/.gradle/caches/
- mkdir -p $HOME/.gradle/wrapper/
before_script:
- sudo service postgresql stop || true
- sudo service mysql stop || true
- sudo service memcached stop || true
- sudo service bootlogd stop || true
- sudo service elasticsearch stop || true
- sudo service mongodb stop || true
- sudo service neo4j stop || true
- sudo service cassandra stop || true
- sudo service riak stop || true
- sudo service rsync stop || true
- sudo service x11-common stop || true
env:
# Only compile and build basic jars
- TARGET="assemble"
- TARGET=":jsettlers.main.android:build"
# Run single test targets
- TARGET=":jsettlers.logic:test:unitTest"
- TARGET=":jsettlers.common:test:test"
- TARGET=":jsettlers.network:test --info"
- TARGET=":jsettlers.logic:test:aiDifficultiesIT"
- TARGET=":jsettlers.logic:test:autoReplayIT"
- TARGET=":jsettlers.logic:test:replayValidationIT"
- TARGET="release deployToGithub"
script: GRADLE_OPTS='-Xmx600m -Dorg.gradle.jvmargs="-Xmx1500m"' ./gradlew $TARGET