Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Commit

Permalink
fix: use @2
Browse files Browse the repository at this point in the history
  • Loading branch information
bokuweb committed Jan 25, 2019
1 parent 21936af commit 50bbcaa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ addons:
before_install:
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- export ARGOS_TOKEN=4cd2c7e95daddab0eb5e88c61d4425d160553897

install:
- npm install
- npm install -g argos-cli
- npm install -g glob
- npm install electron@2
script:
- npm run lint
- npm test
- ARGOS_COMMIT=$TRAVIS_COMMIT ARGOS_BRANCH=$TRAVIS_BRANCH argos upload screenshots --token $ARGOS_TOKEN || true
- npm run test:main
- npm run test:renderer
4 changes: 3 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ install:
- ps: Install-Product node $env:nodejs_version
# install modules
- npm install
- npm install electron@2

# Post-install test scripts.
test_script:
# Output useful info for debugging.
- node --version
- npm --version
# run tests
- npm test
- npm run test:main
- npm run test:renderer

# Don't actually build.
build: off
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,18 @@
"require": [],
"windowOptions": {
"title": "avaron",
"show": true
"show": false
},
"fixture": "./fixture.html"
},
"dependencies": {
"ava": "^1.1.0",
"electron": "^4.0.2",
"make-dir": "^1.3.0",
"require-hacker": "^3.0.1"
},
"peerDependencies": {
"electron": ">= 2"
},
"bin": {
"avaron": "./cli.js"
}
Expand Down

0 comments on commit 50bbcaa

Please sign in to comment.