From b0cf886832db1e35ceb1f821a98ecb8004c9ad01 Mon Sep 17 00:00:00 2001 From: Zachary Boyd Date: Sun, 12 Mar 2017 13:17:32 -0400 Subject: [PATCH] renames pipelines file --- bitbucket-pipelines.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 4677eeb..bd81f70 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -1,13 +1,13 @@ -# This is a sample build configuration for Javascript (Node.js). -# Check our guides at https://confluence.atlassian.com/x/14UWN for more examples. -# Only use spaces to indent your .yml configuration. -# ----- -# You can specify a custom docker image from Docker Hub as your build environment. -image: node:4.6.0 +image: ubuntu:16.10 pipelines: default: - step: - script: # Modify the commands below to build your repository. + script: + - cp tor-sources.list /etc/apt/sources.list.d/tor.list + - apt update && apt install -y 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 \ No newline at end of file