Skip to content

Commit

Permalink
Enable Travis CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miroslav Bajtoš committed Jan 28, 2015
1 parent 42c1c9d commit e7742fd
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
language: c

env:
- NODE_VERSION="v0.10"
- NODE_VERSION="v0.11"
- NODE_VERSION="iojs-v1.0"

os:
-osx

before_install:
- echo $TRAVIS_OS_NAME
- export PATH=./node_modules/.bin/:$PATH
- rm -rf ~/.nvm && git clone --depth 1 https://github.com/creationix/nvm.git ~/.nvm
- source ~/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- node --version
- npm --version
- nvm --version

install:
- npm install

script:
- npm test

0 comments on commit e7742fd

Please sign in to comment.