Skip to content
This repository was archived by the owner on Jul 23, 2022. It is now read-only.

TravisCI #2

Merged
merged 8 commits into from
May 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
dist: trusty
sudo: required
language: node_js
node_js: 8
node_js: 10

install:
- npm install

script:
- npx bower install
- npm -s test

# after_success:
# - >-
# test $TRAVIS_TAG &&
Expand Down
7 changes: 5 additions & 2 deletions examples/basic/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
all:
all: node_modules
purs compile src/*.purs '../../src/**/*.purs' '../../bower_components/purescript-*/src/**/*.purs'
purs bundle --module Basic output/*/*.js > output/bundle.js
echo 'module.exports = PS.Basic;' >> output/bundle.js
node_modules/browserify/bin/cmd.js output/bundle.js index.js -o html/index.js
node_modules/.bin/browserify output/bundle.js index.js -o html/index.js

node_modules:
npm install
7 changes: 5 additions & 2 deletions examples/multi-async/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
all:
all: node_modules
purs compile src/*.purs '../../src/**/*.purs' '../../bower_components/purescript-*/src/**/*.purs'
purs bundle --module MultiAsync output/*/*.js > output/bundle.js
echo 'module.exports = PS.MultiAsync;' >> output/bundle.js
node_modules/browserify/bin/cmd.js output/bundle.js index.js -o html/index.js
node_modules/.bin/browserify output/bundle.js index.js -o html/index.js

node_modules:
npm install
Loading