diff --git a/.dockerignore b/.dockerignore index 3b3d50c..139409f 100644 --- a/.dockerignore +++ b/.dockerignore @@ -6,4 +6,4 @@ npm-debug.log docker-compose.yml .env README.md -bitbucket-pipelines.yml \ No newline at end of file +.travis.yml \ No newline at end of file diff --git a/.npmignore b/.npmignore index 94bb23c..eb3caec 100644 --- a/.npmignore +++ b/.npmignore @@ -2,4 +2,4 @@ node_modules yarn.lock npm-debug.log .env -bitbucket-pipelines.yml \ No newline at end of file +.travis.yml \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..3b982fa --- /dev/null +++ b/.travis.yml @@ -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 \ No newline at end of file diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml deleted file mode 100644 index ea55bd6..0000000 --- a/bitbucket-pipelines.yml +++ /dev/null @@ -1,9 +0,0 @@ -image: znetstar/tor-router:3.4.1 - -pipelines: - default: - - step: - name: Build and test - script: - - npm install - - npm test \ No newline at end of file