Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against GitHub fetch polyfill #3

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
language: node_js
node_js:
- 6
install:
- npm install -g phantomjs
- npm install
script:
- git submodule update
- npm test
- npm run build
- cp dist/unfetch.umd.js fetch/fetch.js
- cd fetch
- echo '/* jshint ignore:start */' | cat - fetch.js > temp && mv temp fetch.js

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simplify a bit?

- echo '/* jshint ignore:start */' | cat - dist/unfetch.umd.js > fetch/fetch.js
- cd fetch
- npm test

- npm test
1 change: 1 addition & 0 deletions fetch
Submodule fetch added at 49e803