Consolidate Travis CI matrix for encoding (#436)

See: #431
This commit is contained in:
Timothy Gu 2018-03-25 14:56:37 -07:00 committed by GitHub
parent bae5fdd306
commit 6b42bd68cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -6,13 +6,13 @@ node_js:
- "node"
env:
- FORMDATA_VERSION=1.0.0
- FORMDATA_VERSION=1.0.0 ENCODING=yes
- FORMDATA_VERSION=2.1.0
- FORMDATA_VERSION=2.1.0 ENCODING=yes
before_script:
- 'if [ "$FORMDATA_VERSION" ]; then npm install form-data@^$FORMDATA_VERSION; fi'
- 'if [ "$ENCODING" = "yes" ]; then npm install encoding; fi'
script: npm run coverage
script:
- npm run coverage
- npm install encoding
- npm run coverage
cache:
directories:
- node_modules