Skip to content

Commit e07c346

Browse files
committed
ci: added travis ci config file
1 parent 4c0ac86 commit e07c346

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: node_js
2+
node_js:
3+
- '8'
4+
- '10'
5+
- '12'
6+
install: yarn
7+
script:
8+
- yarn test

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
},
2828
"scripts": {
2929
"test": "yarn test:rn61 && yarn test:expo35",
30-
"test:rn61": "cd test/RN61 && npx ../.. && cd ../..",
31-
"test:expo35": "cd test/Expo35 && npx ../.. && cd ../.."
30+
"test:rn61": "cd test/RN61 && yarn install && npx ../.. && cd ../..",
31+
"test:expo35": "cd test/Expo35 && yarn install && npx ../.. && cd ../.."
3232
}
3333
}

0 commit comments

Comments
 (0)