-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
32 lines (28 loc) · 995 Bytes
/
circle.yml
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
---
machine:
node:
version: 0.10.31
dependencies:
post:
# Closure Compiler
- mkdir -p compiler
- stat compiler/compiler.jar || (wget http://dl.google.com/closure-compiler/compiler-latest.zip && unzip compiler-latest.zip -d compiler)
# Closure compiler library
- mkdir -p compiler/library
- stat compiler/library/closure-library-master || (wget https://github.com/google/closure-library/archive/master.zip && unzip master.zip -d compiler/library)
# Node, Sauce, Phantom, and JSlint deps
- npm install
- mocha-phantomjs --help || npm install -g mocha-phantomjs
- wget https://saucelabs.com/downloads/sc-latest-linux.tar.gz
- tar -xzf sc-latest-linux.tar.gz
- jscs --help || npm install -g jscs
- jshint -v || npm install -g jshint
- grunt -v || npm install -g grunt-cli
cache_directories:
- "~/nvm/v0.10.31"
- compiler
test:
override:
- ./lint.sh
- grunt test
- mocha-phantomjs test/integration-test.html