Skip to content

Commit b24ed0a

Browse files
committed
Travis
1 parent 18be95f commit b24ed0a

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
language: node_js
2+
sudo: false
3+
node_js:
4+
- 0.10
5+
env:
6+
- PATH=$HOME/purescript:$PATH
7+
install:
8+
- TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p')
9+
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
10+
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
11+
- chmod a+x $HOME/purescript
12+
- npm install
13+
script:
14+
- npm run build

package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"private": true,
3+
"scripts": {
4+
"postinstall": "pulp dep install",
5+
"build": "pulp test && rimraf docs && pulp docs"
6+
},
7+
"devDependencies": {
8+
"pulp": "^4.0.1",
9+
"rimraf": "^2.4.1"
10+
}
11+
}

0 commit comments

Comments
 (0)