Skip to content

Commit e81534d

Browse files
committed
Merge pull request cats-oss#157 from CyberAgent/develop
Update travis
2 parents ccff540 + 3a0ee65 commit e81534d

File tree

1 file changed

+34
-31
lines changed

1 file changed

+34
-31
lines changed

.travis.yml

Lines changed: 34 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,43 @@
1-
language:
2-
- android
3-
jdk:
4-
- oraclejdk8
1+
language: android
2+
3+
# Turning off caching to avoid caching Issues
4+
# cache: false
5+
# Using the new Container-Based Infrastructure
6+
sudo: false
7+
8+
env:
9+
global:
10+
# Initiating clean Gradle output
11+
- TERM=dumb
12+
# Amount of memory granted to Gradle JVM
13+
- GRADLE_OPTS="-Xmx512m -XX:MaxPermSize=512m"
14+
# General Android settings used in builds
15+
- ANDROID_TARGET=android-21
16+
17+
before_install:
18+
# Making sure gradlew has executable permissions
19+
- chmod +x gradlew
20+
- wget http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin
21+
- chmod +x android-ndk-r10c-linux-x86_64.bin
22+
- ./android-ndk-r10c-linux-x86_64.bin | egrep -v ^Extracting
23+
- export ANDROID_NDK_HOME=`pwd`/android-ndk-r10c
24+
- export PATH=${PATH}:${ANDROID_NDK_HOME}
525

626
android:
727
components:
8-
- build-tools-21.0.2
9-
- android-21
28+
# We are using the latest revision of Android SDK Tools
29+
- platform-tools
30+
- tools
31+
# The BuildTools version we are using for our project
32+
- build-tools-21.1.2
33+
34+
# Additional components
35+
- extra-google-google_play_services
1036
- extra-google-m2repository
1137
- extra-android-m2repository
1238

1339
licenses:
14-
- 'android-sdk-license-.+'
15-
16-
notifications:
17-
email: false
18-
19-
before_script:
20-
- sudo service postgresql stop || true
21-
- sudo service mysql stop || true
22-
- sudo service memcached stop || true
23-
- sudo service bootlogd stop || true
24-
- sudo service elasticsearch stop || true
25-
- sudo service mongodb stop || true
26-
- sudo service neo4j stop || true
27-
- sudo service cassandra stop || true
28-
- sudo service riak stop || true
29-
- sudo service rsync stop || true
30-
- sudo service x11-common stop || true
31-
32-
before_install:
33-
- wget http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin
34-
- chmod +x android-ndk-r10c-linux-x86_64.bin
35-
- ./android-ndk-r10c-linux-x86_64.bin | egrep -v ^Extracting
36-
- export ANDROID_NDK_HOME=`pwd`/android-ndk-r10c
37-
- export PATH=${PATH}:${ANDROID_NDK_HOME}
40+
- 'android-sdk-license-.+'
3841

3942
script:
40-
- ./gradlew assemble --info
43+
./gradlew :library:clean :library:build

0 commit comments

Comments
 (0)