Skip to content

Commit

Permalink
Added browser testing to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Apr 14, 2019
1 parent 73fda94 commit 42a04e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
@@ -1,9 +1,13 @@
dist: xenial
env: [TEST_ENV=browser, TEST_ENV=node]
language: node_js
node_js: [10, 11]
notifications: {email: false}

install: npm install
before_script: npm --global install @cedx/coveralls
script: npm test
install:
- npm install --global @cedx/coveralls
- npm install --global gulp-cli
- npm install

script: gulp test:${TEST_ENV}
after_success: coveralls var/lcov.info
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -53,6 +53,6 @@
"coverage": "gulp coverage",
"prepare": "gulp build",
"start": "gulp watch",
"test": "gulp test:node"
"test": "gulp test"
}
}

0 comments on commit 42a04e6

Please sign in to comment.