2017-03-12 17:17:32 +00:00
|
|
|
image: ubuntu:16.10
|
2017-03-12 17:16:34 +00:00
|
|
|
|
|
|
|
pipelines:
|
|
|
|
default:
|
|
|
|
- step:
|
2017-03-12 17:17:32 +00:00
|
|
|
script:
|
2017-03-12 17:22:50 +00:00
|
|
|
- apt update && apt install -y curl tor git
|
2017-03-25 00:01:45 +00:00
|
|
|
- curl -sL https://deb.nodesource.com/setup_6.x > /tmp/node_install
|
2017-03-12 17:17:32 +00:00
|
|
|
- bash /tmp/node_install && apt install -y nodejs
|
2017-03-12 17:16:34 +00:00
|
|
|
- npm install
|
2017-03-12 17:17:32 +00:00
|
|
|
- bash /app/bin/get-timezone.sh > /etc/timezone && dpkg-reconfigure -f noninteractive tzdata
|
2017-03-12 17:16:34 +00:00
|
|
|
- npm test
|