Skip to content

Commit

Permalink
Merge 0b571a8 into da1a97b
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneypattison committed Jan 29, 2019
2 parents da1a97b + 0b571a8 commit f9cdce6
Show file tree
Hide file tree
Showing 4 changed files with 388 additions and 23 deletions.
12 changes: 12 additions & 0 deletions .pa11yci
@@ -0,0 +1,12 @@
{
"urls": [
"http://localhost:3000/home",
"http://localhost:3000/items",
"http://localhost:3000/collections",
"http://localhost:3000/communities",
"http://localhost:3000/login",
"http://localhost:3000/logout",
"http://localhost:3000/search",
"http://localhost:3000/**"
]
}
25 changes: 16 additions & 9 deletions .travis.yml
Expand Up @@ -9,9 +9,7 @@ addons:

language: node_js

node_js:
- "8"
- "9"
node_js: "9"

cache:
yarn: true
Expand All @@ -24,9 +22,18 @@ before_install:
install:
- travis_retry yarn install

script:
# Use Chromium instead of Chrome.
- export CHROME_BIN=chromium-browser
- yarn run build
- yarn run ci
- cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
matrix:
include:
- env: MODE=pa11y
script:
- yarn start &
- yarn wait
- yarn pa11y

- env: MODE=test
script:
# Use Chromium instead of Chrome.
- export CHROME_BIN=chromium-browser
- yarn run build
- yarn run ci
- cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
8 changes: 6 additions & 2 deletions package.json
Expand Up @@ -27,7 +27,7 @@
"build:aot": "webpack --env.aot --env.server --mode development && webpack --env.aot --env.client --mode development",
"build:prod": "webpack --env.aot --env.server --mode production && webpack --env.aot --env.client --mode production",
"postbuild:prod": "yarn run rollup",
"rollup": "rollup -c rollup.config.js",
"rollup": "rollup -c rollup.config.js 2> /dev/null",
"prestart": "yarn run build:prod",
"prestart:dev": "yarn run build",
"start": "yarn run server",
Expand Down Expand Up @@ -60,7 +60,9 @@
"webdriver:update": "node node_modules/protractor/bin/webdriver-manager update --standalone --gecko false",
"lint": "tslint \"src/**/*.ts\" && tslint \"e2e/**/*.ts\"",
"docs": "typedoc --options typedoc.json ./src/",
"coverage": "http-server -c-1 -o -p 9875 ./coverage"
"coverage": "http-server -c-1 -o -p 9875 ./coverage",
"wait": "wait-on http-get://localhost:3000",
"pa11y": "pa11y-ci --threshold 1000"
},
"dependencies": {
"@angular/animations": "^6.1.4",
Expand Down Expand Up @@ -186,6 +188,7 @@
"node-sass": "^4.11.0",
"nodemon": "^1.15.0",
"npm-run-all": "4.1.3",
"pa11y-ci": "^2.1.1",
"postcss": "^7.0.2",
"postcss-apply": "0.11.0",
"postcss-cli": "^6.0.0",
Expand Down Expand Up @@ -214,6 +217,7 @@
"tslint": "5.11.0",
"typedoc": "^0.9.0",
"typescript": "^2.9.1",
"wait-on": "^3.2.0",
"webpack": "^4.17.1",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-dev-middleware": "3.2.0",
Expand Down

0 comments on commit f9cdce6

Please sign in to comment.