-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.travis.yml
52 lines (43 loc) · 900 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
43
44
45
46
47
48
49
50
51
52
language: android
android:
components:
- tools # to get the new `repository-11.xml`
- tools # see https://github.com/travis-ci/travis-ci/issues/6040#issuecomment-219367943)
- platform-tools
- build-tools-24.0.2
- android-24
node_js:
- "8.1.1"
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
notifications:
email: false
slack:
rooms:
- csploit:BYr15dcnal0Dm6UZRafBqWSC#travis
branches:
only:
- master
install:
- nvm install 8.1.1
- nvm use 8.1.1
- npm install -g npm
- cd app
- npm cache clean
- npm install
- npm install -g cordova
- echo y | android update sdk --no-ui --all --filter android-24
- npm run build
- cd ..
before_script:
- cordova platform rm android
- cordova platform add android
script:
- cordova prepare
- cordova build android --release -- --ant
release:
- exit 0