-
Notifications
You must be signed in to change notification settings - Fork 101
/
circle.yml.old
38 lines (33 loc) · 1.18 KB
/
circle.yml.old
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
machine:
node:
version: 6.11.2
dependencies:
pre:
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
post:
# Closure Compiler
- mkdir -p compiler
- stat compiler/compiler.jar || (wget http://dl.google.com/closure-compiler/compiler-20170218.zip && unzip -o compiler-20170218.zip -d compiler)
# Closure compiler library
- mkdir -p compiler/library
- stat compiler/library/closure-library-20170218 || (wget https://github.com/google/closure-library/archive/v20170218.zip && unzip -o v20170218.zip -d compiler/library)
# Node, Sauce, Phantom, and JSlint deps
- npm install
- npm install -g jsdox
- mocha-phantomjs --help || npm install -g mocha-phantomjs
- wget https://saucelabs.com/downloads/sc-4.3.13-linux.tar.gz --no-check-certificate
- tar -xzf sc-4.3.13-linux.tar.gz
- jscs --help || npm install -g jscs
- jshint -v || npm install -g jshint
- which grunt 2>&1 >/dev/null || npm install -g grunt-cli
test:
override:
- deployment/master_builds.sh
- deployment/test.sh
deployment:
all:
branch: [master, production]
commands:
- npm install -g slack-cli
- deployment/deploy.sh