-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Buffer is not available in the browser and bundlers are going to stop injecting node globals in the bundles. Included is also some repo improvements to use the latest version of ipfs tooling.
- Loading branch information
1 parent
f046f3a
commit fefa84b
Showing
5 changed files
with
71 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,53 @@ | ||
sudo: false | ||
language: node_js | ||
anguage: node_js | ||
cache: npm | ||
stages: | ||
- check | ||
- test | ||
- cov | ||
|
||
matrix: | ||
include: | ||
- node_js: 4 | ||
env: CXX=g++-4.8 | ||
- node_js: 6 | ||
env: | ||
- SAUCE=true | ||
- CXX=g++-4.8 | ||
- node_js: stable | ||
env: CXX=g++-4.8 | ||
node_js: | ||
- '12' | ||
- '10' | ||
|
||
os: | ||
- linux | ||
- osx | ||
- windows | ||
|
||
# Make sure we have new NPM. | ||
before_install: | ||
- npm install -g npm | ||
script: npx nyc -s npm run test:node -- --bail | ||
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov | ||
|
||
script: | ||
- npm run lint | ||
- npm test | ||
- npm run coverage | ||
- make test | ||
jobs: | ||
include: | ||
- stage: check | ||
script: | ||
- npx aegir commitlint --travis | ||
- npx aegir dep-check | ||
- npm run lint | ||
|
||
before_script: | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- stage: test | ||
name: chrome | ||
addons: | ||
chrome: stable | ||
script: npx aegir test -t browser -t webworker | ||
|
||
after_success: | ||
- npm run coverage-publish | ||
- stage: test | ||
name: firefox | ||
addons: | ||
firefox: latest | ||
script: npx aegir test -t browser -t webworker -- --browsers FirefoxHeadless | ||
|
||
- stage: test | ||
name: electron-main | ||
os: osx | ||
script: | ||
- npx aegir test -t electron-main --bail | ||
|
||
- stage: test | ||
name: electron-renderer | ||
os: osx | ||
script: | ||
- npx aegir test -t electron-renderer --bail | ||
|
||
addons: | ||
firefox: 'latest' | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- g++-4.8 | ||
notifications: | ||
email: false |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters