forked from wix/react-native-navigation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (42 loc) · 1.53 KB
/
.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
53
language: java
jdk:
- oraclejdk8
env:
global:
- NODE_VERSION=stable
- PATH=$PATH:$HOME/.yarn/bin
- ANDROID_HOME=$HOME/android-sdk-linux
- PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
git:
depth: 3
branches:
only:
- master
cache:
yarn: true
directories:
- $HOME/.gradle/
- $HOME/.m2
- $ANDROID_HOME/licenses/
before_cache:
- rm -rf $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
before_install:
- set -e
- nvm install $NODE_VERSION
- curl -o- -L https://yarnpkg.com/install.sh | bash
install:
- ./scripts/clean.sh
- yarn install
script:
- yarn run lint
- yarn run test:js
- ./scripts/installAndroidSDK.sh
- yarn run test:android
- yarn run release
after_script:
- echo "BUILD FINISHED"
notifications:
email: false
slack:
secure: SjvEQzfbIer3I88UARe7vlARAFkbCRuosrf2EhsUih17SKtpFuFj8BB+0U89xSxt8QmS4KiuIhj67TOGWnM7GDhy0S0rZCxgYD3VU2zm7cTobWueFvZ0zLFkTqa/8xi9+sZ5Xd1OU4aHGgpfONe34O9qbRP61YR5haJYYFWqVUQb0j6Z60MnvSm2kJJkjPx8iuOTiKoEgfZV3qVziKAN9oKVZsSUpp72cYQJeieKEdSwIBYTFt/G4RuxPxQ5uvGih3qTZBls66P3rydSHR73VbkXSi7edDhPYAhPEKMPidC/nN4UqHJNaGB9ua65LHlOXX7/K/frC/D5//WNnVLOuXHL7AXPZRKQsHwTdA2vjDT2NKvQfPBRVp47tEpQdTa7BHcLjhhJgpPoOVWumjoiD98JToI8Hd23V9OCAFYEkVe14Sr7HFWIm49PoxP6w89aGuYVLY39OJ9SmUbktOY1RYeXrp8sUa/wAxoH1u+W344zVrvAuknd0nx33iycwkKSnPDMGUOviN21XbYqQTLn5ob9rxsNBr/tAkXo9HTcZYqAJZZXX9lIUjEvZ1CU+xv1fxH4zfDWct/U5V6kKsv8pYpLqdZMaR/az02hfxD+tbQaoh1dl9KY5z8PYTMZW9SLqEpcSBevKo+JRyKpMok8Pld8RvtCUarfcHduSmzBAJE=