bitcoinjs-lib/.travis.yml

30 lines
709 B
YAML
Raw Normal View History

2016-02-15 09:13:40 +03:00
sudo: false
2014-01-11 13:58:14 +07:00
language: node_js
services:
- docker
before_install:
- if [ $TEST_SUITE = "integration" ]; then
docker pull junderw/bitcoinjs-regtest-server &&
docker run -d -p 127.0.0.1:8080:8080 junderw/bitcoinjs-regtest-server &&
docker ps -a;
fi
2014-01-11 13:58:14 +07:00
node_js:
2019-03-22 12:33:33 +09:00
- "8"
2018-07-23 16:24:15 +10:00
- "lts/*"
2015-11-03 21:42:44 +03:00
matrix:
include:
2018-07-23 16:24:15 +10:00
- node_js: "lts/*"
2019-03-04 00:27:08 +09:00
env: TEST_SUITE=format:ci
2019-04-01 16:22:47 +09:00
- node_js: "lts/*"
env: TEST_SUITE=gitdiff:ci
2019-03-22 12:33:33 +09:00
- node_js: "lts/*"
env: TEST_SUITE=lint
2019-09-12 17:35:08 +09:00
- node_js: "lts/*"
env: TEST_SUITE=lint:tests
2018-07-23 16:24:15 +10:00
- node_js: "lts/*"
env: TEST_SUITE=coverage
2014-05-13 21:50:44 +08:00
env:
2015-02-23 10:44:05 +11:00
- TEST_SUITE=unit
- TEST_SUITE=integration APIURL=http://127.0.0.1:8080/1
2015-11-03 21:42:44 +03:00
script: npm run-script $TEST_SUITE