Skip to content

Commit 593ced3

Browse files
committed
Adding travis configuration
This should help automate running tests.
1 parent 668cb82 commit 593ced3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Cache node_modules and typings for future runs. This does make the builds
2+
# sometimes fail because of a bad cache but usually this is a huge test
3+
# performance win.
4+
cache:
5+
directories:
6+
- node_modules
7+
- typings
8+
# Set up environment variables for tests
9+
env:
10+
global:
11+
# Use a better mocha reporter for Travis
12+
- MOCHA_REPORTER=spec
13+
# Use the Travis Docker build system which is faster
14+
sudo: false
15+
# Specify to use node
16+
language: node_js
17+
# Specify the node versions to run on
18+
node_js:
19+
- "0.12"
20+
# Make sure to have typings before the test
21+
before_script:
22+
- npm run typings
23+
# Make sure to bundle the application before any deploys
24+
before_deploy:
25+
- npm run bundle

0 commit comments

Comments
 (0)