bitcoinjs-lib/.travis.yml

30 lines
709 B
YAML
Raw Normal View History

2016-02-15 07:13:40 +01:00
sudo: false
2014-01-11 07:58:14 +01: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 07:58:14 +01:00
node_js:
2019-03-22 04:33:33 +01:00
- "8"
2018-07-23 08:24:15 +02:00
- "lts/*"
2015-11-03 19:42:44 +01:00
matrix:
include:
2018-07-23 08:24:15 +02:00
- node_js: "lts/*"
2019-03-03 16:27:08 +01:00
env: TEST_SUITE=format:ci
2019-04-01 09:22:47 +02:00
- node_js: "lts/*"
env: TEST_SUITE=gitdiff:ci
2019-03-22 04:33:33 +01:00
- node_js: "lts/*"
env: TEST_SUITE=lint
2019-09-12 10:35:08 +02:00
- node_js: "lts/*"
env: TEST_SUITE=lint:tests
2018-07-23 08:24:15 +02:00
- node_js: "lts/*"
env: TEST_SUITE=coverage
2014-05-13 15:50:44 +02:00
env:
2015-02-23 00:44:05 +01:00
- TEST_SUITE=unit
- TEST_SUITE=integration APIURL=http://127.0.0.1:8080/1
2015-11-03 19:42:44 +01:00
script: npm run-script $TEST_SUITE