Skip to content

Commit

Permalink
add travis-ci support
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Nov 15, 2012
1 parent 4134d71 commit 8c67b06
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
@@ -1,18 +1,21 @@
language: node_js

node_js:
- 0.6
- 0.8

before_script:
- git clone https://github.com/alipay/liquidluck-theme-arale2.git ../liquidluck-theme-arale2
- git clone https://github.com/aralejs/liquidluck-theme-arale2.git ../liquidluck-theme-arale2
- cp -r ../liquidluck-theme-arale2/static tests/
- cp -r ../liquidluck-theme-arale2/templates tests/
- cp -r ../liquidluck-theme-arale2/test-travis.js tests/
- nohup node tests/test-travis.js &

install:
- npm install spm node-static swig phantomjs
- git clone https://github.com/seajs/spm.git ../spm
- npm install ../spm
- npm install node-static swig phantomjs
- spm env --init
- sed -i 's/\[/[\"modules.aralejs.org\",/g' ~/.spm/config.json
- spm install

script: ./node_modules/.bin/phantomjs tests/static/js/run_jasmine_test.coffee http://127.0.0.1:8000/tests/runner.html
script: ./node_modules/.bin/phantomjs tests/static/js/run_jasmine_test.coffee http://127.0.0.1:8000/tests/runner.html
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -2,6 +2,8 @@

---

[![Build Status](https://secure.travis-ci.org/aralejs/position.png)](https://travis-ci.org/aralejs/position)

简单实用的定位工具,将一个 DOM 节点相对于另一个 DOM 节点进行定位操作。

---
Expand Down

0 comments on commit 8c67b06

Please sign in to comment.