tor-router/bitbucket-pipelines.yml
2017-03-12 13:18:47 -04:00

13 lines
526 B
YAML

image: ubuntu:16.10
pipelines:
default:
- step:
script:
- cp tor-sources.list /etc/apt/sources.list.d/tor.list
- apt update && apt install -y --allow-unauthenticated deb.torproject.org-keyring curl tor git
- curl -sL https://deb.nodesource.com/setup_7.x > /tmp/node_install
- bash /tmp/node_install && apt install -y nodejs
- npm install
- bash /app/bin/get-timezone.sh > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata
- npm test