Skip to content

Commit 52f60ff

Browse files
committed
travis setup
1 parent ce8295b commit 52f60ff

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.travis.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Hepburn
2+
language: objective-c
3+
osx_image: xcode7
4+
xcode_sdk: iphonesimulator9.0
5+
6+
cache:
7+
directories:
8+
- node_modules
9+
- ios/Pods
10+
- ~/.nvm
11+
12+
before_install:
13+
- which nvm || curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh | bash
14+
- export NVM_DIR=~/.nvm
15+
- source ~/.nvm/nvm.sh --install
16+
- nvm install 4.0
17+
- brew update
18+
- brew reinstall xctool
19+
- brew reinstall watchman
20+
- cp ios/main.example.jsbundle ios/main.jsbundle
21+
- npm install
22+
- gem install xcpretty
23+
- gem install cocoapods
24+
- pod install --project-directory=ios
25+
26+
before_script:
27+
- npm run compile:test
28+
29+
script:
30+
- npm test

0 commit comments

Comments
 (0)