-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
64 lines (57 loc) · 1.75 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
54
55
56
57
58
59
60
61
62
63
64
language: node_js
node_js:
- "7.1"
sudo: false
matrix:
include:
- language: android
os: linux
jdk: oraclejdk8
node_js: false
before_install:
- nvm install 8
- node --version
- travis_retry curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- travis_retry sudo apt-get update -qq
- travis_retry sudo apt-get install -y -qq yarn
- yarn add react-native@0.48.3
install:
- yarn
android:
components:
- build-tools-26.0.0
- android-24
- android-22
- extra-android-m2repository
- extra-google-google_play_services
- extra-google-m2repository
- addon-google_apis-google-16
- sys-img-armeabi-v7a-android-22
licenses:
- 'android-sdk-license-.+'
before_script:
- android list target
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- cd android && ./gradlew connectedAndroidTest
# - language: objective-c
# os: osx
# osx_image: xcode8.3
# node_js: false
# before_install:
# - nvm install 7
# - rm -Rf "${TMPDIR}/jest_preprocess_cache"
# - node --version
# - travis_retry npm install -g yarn
# - yarn add react-native@0.48.3
#
# install:
# - travis_retry gem install xcpretty
# - travis_retry yarn
#
# script:
# - ./scripts/objc-test-ios.sh