Add travis yml

This commit is contained in:
Zachary Boyd 2018-08-10 10:25:28 -04:00
parent a52789be41
commit 1f93a82abd
4 changed files with 13 additions and 11 deletions

View file

@ -6,4 +6,4 @@ npm-debug.log
docker-compose.yml
.env
README.md
bitbucket-pipelines.yml
.travis.yml

View file

@ -2,4 +2,4 @@ node_modules
yarn.lock
npm-debug.log
.env
bitbucket-pipelines.yml
.travis.yml

11
.travis.yml Normal file
View 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

View file

@ -1,9 +0,0 @@
image: znetstar/tor-router:3.4.1
pipelines:
default:
- step:
name: Build and test
script:
- npm install
- npm test