Skip to content

Commit

Permalink
update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5e committed Oct 13, 2017
1 parent 80d9726 commit 1d0eece
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
env:
- NODE_ENV='test'
node_js:
- '8'
cache:
directories:
- $HOME/.yarn-cache
Expand All @@ -10,9 +10,7 @@ cache:
before_install:
- nvm install 8
install:
- npm install
script:
- npm test
- npm install --dev
matrix:
include:
- language: objective-c
Expand All @@ -31,3 +29,7 @@ matrix:
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
script:
- cd android && ./gradlew build
- language: node_js
os: linux
script:
- npm test
2 changes: 1 addition & 1 deletion __tests__/sign.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ test('signature verification (RSA2)', () => {
let signedQuery = Alipay.sign(params, privateKey);
expect(QueryString.parse(signedQuery).sign).toBe(sign);

})
});
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
},
"homepage": "https://github.com/0x5e/react-native-alipay",
"devDependencies": {
"babel-core": "^6.0.0",
"babel-jest": "^21.2.0",
"jest": "^21.2.1",
"query-string": "^5.0.0",
Expand Down

0 comments on commit 1d0eece

Please sign in to comment.