forked from sgtcoolguy/hyperloop-android
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
30 lines (26 loc) · 931 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
language: android
android:
components:
- build-tools-18.1.0
- android-19
before_script:
# download and setup NDK
- wget http://dl.google.com/android/ndk/android-ndk-r9-linux-x86_64.tar.bz2
- tar xf android-ndk-r9-linux-x86_64.tar.bz2
- sudo mv android-ndk-r9 /usr/local/android-ndk
# sym link because currently node-appc looks here
- sudo ln -s /usr/local/android-sdk /usr/android-sdk
- sudo ln -s /usr/local/android-ndk /usr/android-ndk
# setup grunt
- npm install -g grunt-cli
# Create and start emulator
- echo no | android create avd --force -n test -t android-16 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- ./wait_for_emulator
install:
- npm install
script:
- grunt test
notifications:
flowdock:
secure: WpU/gKxLHbneKEZPh2udTGa/qdV69LofoK0ffRjar0DvV1NAAfiCJUKLihhdtJ7QMX4Q7JTK4REom56xtaiakURoEI/qHBPcKyZKSKE1/IF4TGiL5FEXPSigurB115CXapQ1+c6ISBl2Vg8InQXmj3uFzmsCA3G8VYP+bT2WrVc=