From 47dfe604061509c0b2312ffceba23859a4a19910 Mon Sep 17 00:00:00 2001 From: justinwoo Date: Fri, 5 Oct 2018 15:58:18 +0300 Subject: [PATCH] update notes on travis --- docs/travis.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/docs/travis.md b/docs/travis.md index bd17666..1fa682f 100644 --- a/docs/travis.md +++ b/docs/travis.md @@ -9,6 +9,38 @@ sudo: required (from ) +## 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 + ## Telling Haskell RTS the bad news You can pass runtime system arguments as pass-through arguments to pulp to make Travis build correctly: