update notes on travis

This commit is contained in:
justinwoo 2018-10-05 15:58:18 +03:00
parent dddad3efe1
commit 47dfe60406

View File

@ -9,6 +9,38 @@ sudo: required
(from <https://github.com/purescript/package-sets/blob/6f9f0b0eaea5e3718c860bc0cbaa651a554aad21/.travis.yml>) (from <https://github.com/purescript/package-sets/blob/6f9f0b0eaea5e3718c860bc0cbaa651a554aad21/.travis.yml>)
## Example configuration
```yaml
language: c
dist: trusty
sudo: required
cache:
directories:
- .psc-package
- output
env:
- PATH=$HOME/purescript:$HOME/psc-package:$PATH
install:
- TAG=v0.12.0
- PSC_PACKAGE_TAG=v0.3.2
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
- chmod a+x $HOME/purescript
- wget -O $HOME/psc-package.tar.gz https://github.com/purescript/psc-package/releases/download/$PSC_PACKAGE_TAG/linux64.tar.gz
- tar -xvf $HOME/psc-package.tar.gz -C $HOME/
- chmod a+x $HOME/psc-package
script:
- make setup-only
- psc-package verify
```
From <https://github.com/justinwoo/spacchetti/blob/f6779d19cc0e9bf3cd041966dd14b480f48dbc57/.travis.yml>
## Telling Haskell RTS the bad news ## Telling Haskell RTS the bad news
You can pass runtime system arguments as pass-through arguments to pulp to make Travis build correctly: You can pass runtime system arguments as pass-through arguments to pulp to make Travis build correctly: