Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
3653f73e
Commit
3653f73e
authored
Mar 10, 2015
by
Max Lv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update travis
parent
d648910a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
.travis.yml
.travis.yml
+9
-8
No files found.
.travis.yml
View file @
3653f73e
language
:
scala
language
:
android
android
:
components
:
-
tools
-
platform-tools
-
build-tools-21.1.1
-
android-21
-
extra-google-m2repository
-
extra-android-m2repository
cache
:
cache
:
-
apt
-
apt
scala
:
-
2.10.4
before_install
:
before_install
:
-
sudo apt-get update
-
sudo apt-get update
install
:
install
:
-
sudo apt-get install -y libc6-dev-i386 lib32ncurses5-dev libx11-dev g++-multilib lib32z1-dev ccache
-
sudo apt-get install -y libc6-dev-i386 lib32ncurses5-dev libx11-dev g++-multilib lib32z1-dev ccache
-
export NDK_CCACHE=ccache
-
export NDK_CCACHE=ccache
-
export ARCH=`uname -m`
-
export ARCH=`uname -m`
-
wget http://dl.google.com/android/android-sdk_r24.0.2-linux.tgz
-
tar xf android-sdk_r24.0.2-linux.tgz
-
wget http://dl.google.com/android/ndk/android-ndk-r10d-linux-${ARCH}.bin
-
wget http://dl.google.com/android/ndk/android-ndk-r10d-linux-${ARCH}.bin
-
chmod +x android-ndk-r10d-linux-${ARCH}.bin
-
chmod +x android-ndk-r10d-linux-${ARCH}.bin
-
./android-ndk-r10d-linux-${ARCH}.bin -y | grep gcc
-
./android-ndk-r10d-linux-${ARCH}.bin -y | grep gcc
-
export ANDROID_NDK_HOME=`pwd`/android-ndk-r10d
-
export ANDROID_NDK_HOME=`pwd`/android-ndk-r10d
-
export ANDROID_HOME=`pwd`/android-sdk-linux
-
export PATH=${PATH}:${ANDROID_NDK_HOME}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
-
export PATH=${PATH}:${ANDROID_NDK_HOME}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
-
echo "y" | android update sdk --filter tools,platform-tools,build-tools-21.0.1,android-21,extra-google-m2repository --no-ui --no-https -a
-
echo "y" | android update sdk --filter extra-android-m2repository --no-ui --no-https -a
script
:
script
:
-
cp local.properties.travis local.properties
-
cp local.properties.travis local.properties
-
./build.sh
-
./build.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment