From fc1e00bc2a74c67cdd2d1e91e42912c765a9648f Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Sat, 23 Jun 2018 16:17:03 -0700 Subject: [PATCH] set up travis --- .travis.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 47 insertions(+) create mode 100644 .travis.yml create mode 100644 README.md diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e256d4e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,46 @@ +# adapted from +# https://github.com/greghendershott/travis-racket/blob/master/.travis.yml +# Thanks Greg! + +language: c +sudo: false + +env: + global: + - RACKET_DIR=~/racket + matrix: +# - RACKET_VERSION=6.0 +# - RACKET_VERSION=6.1 +# - RACKET_VERSION=6.2 + - RACKET_VERSION=6.3 + - RACKET_VERSION=6.4 + - RACKET_VERSION=6.5 + - RACKET_VERSION=6.6 + - RACKET_VERSION=6.7 + - RACKET_VERSION=6.8 + - RACKET_VERSION=6.9 + - RACKET_VERSION=6.10 + - RACKET_VERSION=6.11 + - RACKET_VERSION=6.12 + - RACKET_VERSION=HEAD + +# You may want to test against certain versions of Racket, without +# having them count against the overall success/failure. +matrix: + allow_failures: + #- env: RACKET_VERSION=HEAD + # Fast finish: Overall build result is determined as soon as any of + # its rows have failed, or, all of its rows that aren't allowed to + # fail have succeeded. + fast_finish: true + +before_install: + - git clone https://github.com/mbutterick/travis-racket.git + - cat travis-racket/install-racket.sh | bash # pipe to bash not sh! + - export PATH="${RACKET_DIR}/bin:${PATH}" #install-racket.sh can't set for us + +script: + - cd .. # Travis did a cd into the dir. Back up, for the next: + - travis_retry raco pkg install --deps search-auto https://github.com/mbutterick/br-parser-tools.git?path=br-parser-tools-lib + - raco test -p br-parser-tools-lib + diff --git a/README.md b/README.md new file mode 100644 index 0000000..d20b757 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# br-parser-tools [![Build Status](https://travis-ci.org/mbutterick/br-parser-tools.svg?branch=master)](https://travis-ci.org/mbutterick/br-parser-tools)