forked from bugsnag/bugsnag-android-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (36 loc) · 1014 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
language: android
sudo: false
env:
global:
- ANDROID_HOME=/usr/local/android-sdk
- NDK_VERSION=r16b
android:
components:
- tools
# see https://github.com/travis-ci/travis-ci/issues/8874
- android-27
- sys-img-armeabi-v7a-android-21
- extra-google-m2repository
- extra-android-m2repository
before_install:
- echo y | sdkmanager "platform-tools" >/dev/null
- echo y | sdkmanager "tools" >/dev/null
- echo y | sdkmanager "build-tools;27.0.3" >/dev/null
- echo y | sdkmanager 'cmake;3.6.4111459'
- gem install bundler
- bundle install
- ls $ANDROID_HOME
- ./install_ndk.sh
install:
- curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
- sudo apt-get install -y nodejs
script:
- ./gradlew clean install --stacktrace
- ./gradlew clean build --stacktrace
- bundle exec maze-runner -c --verbose
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/