Skip to content

Commit 6fdd653

Browse files
committed
Add a note for sudo
1 parent a31fea4 commit 6fdd653

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

.travis.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1+
env:
2+
global:
3+
- NDK_VERSION=r10e
4+
sudo: false
15
language:
26
android
3-
7+
jdk:
8+
- oraclejdk8
49
git:
510
submodules: false
6-
before_install:
7-
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
8-
- git submodule update --init --recursive
9-
- wget http://dl.google.com/android/ndk/android-ndk-$NDK_VERSION-linux-x86_64.bin
10-
- chmod +x android-ndk-$NDK_VERSION-linux-x86_64.bin
11-
- ./android-ndk-$NDK_VERSION-linux-x86_64.bin | egrep -v ^Extracting
12-
- export ANDROID_NDK_HOME=`pwd`/android-ndk-$NDK_VERSION
13-
- export PATH=${PATH}:${ANDROID_NDK_HOME}
14-
1511
android:
1612
components:
1713
- platform-tools
@@ -24,6 +20,15 @@ android:
2420
- extra-android-m2repository
2521

2622
- sys-img-x86_64-android-22
23+
before_install:
24+
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
25+
- git submodule update --init --recursive
26+
- wget http://dl.google.com/android/ndk/android-ndk-$NDK_VERSION-linux-x86_64.bin
27+
- chmod +x android-ndk-$NDK_VERSION-linux-x86_64.bin
28+
- ./android-ndk-$NDK_VERSION-linux-x86_64.bin | egrep -v ^Extracting
29+
- export ANDROID_NDK_HOME=`pwd`/android-ndk-$NDK_VERSION
30+
- export PATH=${PATH}:${ANDROID_NDK_HOME}
31+
2732
script:
2833
- gradle packar -PPACKAGE_VERSION=5.5.5
2934

0 commit comments

Comments
 (0)