build: upgrades build pipeline from CircleCI 1.0 -> 2.0 (#11162)

build: upgrades build pipeline from CircleCI 1.0 -> 2.0
This commit is contained in:
Leonard Gram
2018-03-09 11:27:00 +01:00
committed by GitHub
parent 77cd7f34c7
commit 49de4ed28b
5 changed files with 135 additions and 67 deletions
-6
View File
@@ -10,12 +10,6 @@ function exit_if_fail {
fi
}
cd /home/ubuntu/.go_workspace/src/github.com/grafana/grafana
rm -rf node_modules
npm install -g yarn --quiet
yarn install --pure-lockfile --no-progress
exit_if_fail npm run test:coverage
exit_if_fail npm run build