forked from gusgard/react-native-swiper-flatlist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (46 loc) · 969 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
53
54
55
language: objective-c
os: osx
osx_image: xcode10.2
branches:
only:
- master
- run-detox
env:
global:
- NODE_VERSION=stable
cache:
yarn: true
directories:
- node_modules
install:
- brew tap wix/brew
- brew install applesimutils
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
- export NVM_DIR="$HOME/.nvm" && [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- nvm alias default $NODE_VERSION
- npm install -g react-native-cli
- npm install -g detox-cli
# - npm install -g yarn
- gem install xcpretty
script:
- pwd
- yarn install
- yarn ci
- cd example
- pwd
- yarn install
- cd ios
- pod install
- cd ..
- yarn build:ios:ci
- yarn e2e:ios:ci
sudo: false
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.17.3
- export PATH=$HOME/.yarn/bin:$PATH
notifications:
email:
on_success: never
on_failure: always