LoginSignup
0
0

More than 5 years have passed since last update.

Purescript on Travis CI (as of Sept 2016)

Last updated at Posted at 2016-09-18

tl;dr

Use the Trusty beta build environment.

language: node_js
sudo: required
dist: trusty
node_js: 6
install:
  - npm install -g bower purescript pulp
script:
  - npm install
  - bower install
  - npm test

Probably at some point you will run Purescript builds on Travis, and there doesn't seem to be much written on the internet about it. I found that if I didn't set up Travis correctly, I would end up with 10+ min build times.

But by taking advantage of the Trusty beta Build Environments, you can get fairly fast builds taking only a little over a minute. Just take the config above (swapping out npm test if you need) and add it as .travis.yml and you should be good to go.

Thanks to Gary Burgess and Christoph Hegemann for helping me look into this.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0