mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 14:21:13 +00:00
32 lines
558 B
YAML
32 lines
558 B
YAML
|
||
# Language/versions
|
||
language: node_js
|
||
matrix:
|
||
include:
|
||
|
||
# Run tests in Node.js 0.10 (unsupported)
|
||
- node_js: '0.10'
|
||
|
||
# Run tests in Node.js 0.12
|
||
- node_js: '0.12'
|
||
|
||
# Allow Node.js 0.10 to fail – it's unsupported
|
||
allow_failures:
|
||
- node_js: '0.10'
|
||
|
||
# Build only master (and pull-requests)
|
||
branches:
|
||
only:
|
||
- master
|
||
|
||
# Services setup
|
||
services:
|
||
- mongodb
|
||
|
||
# Build script
|
||
before_script:
|
||
- cp config/test.sample.json config/test.json
|
||
- NODE_ENV=test node index.js &
|
||
- sleep 5 # give server time to start
|
||
script: 'make ci'
|