Add travis yml
This commit is contained in:
parent
a52789be41
commit
1f93a82abd
|
@ -6,4 +6,4 @@ npm-debug.log
|
||||||
docker-compose.yml
|
docker-compose.yml
|
||||||
.env
|
.env
|
||||||
README.md
|
README.md
|
||||||
bitbucket-pipelines.yml
|
.travis.yml
|
|
@ -2,4 +2,4 @@ node_modules
|
||||||
yarn.lock
|
yarn.lock
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
.env
|
.env
|
||||||
bitbucket-pipelines.yml
|
.travis.yml
|
11
.travis.yml
Normal file
11
.travis.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
language: node_js
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- sudo apt-get update -qq
|
||||||
|
- sudo apt-get install -qq tor
|
||||||
|
|
||||||
|
install:
|
||||||
|
- npm install
|
||||||
|
|
||||||
|
script:
|
||||||
|
- TOR_PATH=/usr/bin/tor npm test
|
|
@ -1,9 +0,0 @@
|
||||||
image: znetstar/tor-router:3.4.1
|
|
||||||
|
|
||||||
pipelines:
|
|
||||||
default:
|
|
||||||
- step:
|
|
||||||
name: Build and test
|
|
||||||
script:
|
|
||||||
- npm install
|
|
||||||
- npm test
|
|
Loading…
Reference in a new issue