Skip to content

Commit de2ba35

Browse files
gabejohnsonpaf31
authored andcommitted
Add .travis.yml (#51)
* Add .travis.yml * Add package.json
1 parent 90bccbe commit de2ba35

File tree

3 files changed

+34
-7
lines changed

3 files changed

+34
-7
lines changed

.gitignore

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
output/
22
node_modules/
33
bower_components/
4-
.psc-ide-port
5-
.psc-package/
4+
package-lock.json
5+
6+
/.*
7+
!/.gitignore
8+
!/.travis.yml
69

710
# OS generated files #
811
######################
9-
.DS_Store
10-
.DS_Store?
11-
._*
12-
.Spotlight-V100
13-
.Trashes
1412
ehthumbs.db
1513
Thumbs.db

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: node_js
2+
dist: trusty
3+
sudo: required
4+
node_js: stable
5+
install:
6+
- npm install -g bower
7+
- npm install
8+
- bower install
9+
script:
10+
- npm run -s build
11+
after_success:
12+
- >-
13+
test $TRAVIS_TAG &&
14+
echo $GITHUB_TOKEN | pulp login &&
15+
echo y | pulp publish --no-push

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"private": true,
3+
"scripts": {
4+
"clean": "rimraf output && rimraf .pulp-cache",
5+
"build": "pulp build -- --censor-lib --strict",
6+
"test": "pulp test"
7+
},
8+
"devDependencies": {
9+
"pulp": "^11.0.0",
10+
"purescript-psa": "^0.5.0",
11+
"purescript": "^0.11.1",
12+
"rimraf": "^2.5.4"
13+
}
14+
}

0 commit comments

Comments
 (0)