www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

.travis.yml (2509B)


      1 language: c
      2 
      3 # Based from: https://github.com/greghendershott/travis-racket
      4 
      5 # Optional: Remove to use Travis CI's older infrastructure.
      6 sudo: false
      7 
      8 env:
      9   global:
     10     # Supply a global RACKET_DIR environment variable. This is where
     11     # Racket will be installed. A good idea is to use ~/racket because
     12     # that doesn't require sudo to install and is therefore compatible
     13     # with Travis CI's newer container infrastructure.
     14     - RACKET_DIR=~/racket
     15   matrix:
     16     # Supply at least one RACKET_VERSION environment variable. This is
     17     # used by the install-racket.sh script (run at before_install,
     18     # below) to select the version of Racket to download and install.
     19     #
     20     # Supply more than one RACKET_VERSION (as in the example below) to
     21     # create a Travis-CI build matrix to test against multiple Racket
     22     # versions.
     23     #
     24     # This package requires version 6.1 or later.
     25     #- RACKET_VERSION=6.0
     26     # The `debug` package used just for the tests does not work on 6.1 and 6.1.1
     27     #- RACKET_VERSION=6.1
     28     #- RACKET_VERSION=6.1.1
     29     # in v6.2, error "#%module-begin: cannot use identifier tainted by macro transformation" on files which use #lang repltest typed/racket
     30     #- RACKET_VERSION=6.2
     31     - RACKET_VERSION=6.3
     32     - RACKET_VERSION=6.4
     33     - RACKET_VERSION=6.5
     34     - RACKET_VERSION=6.6
     35     - RACKET_VERSION=6.7
     36     - RACKET_VERSION=6.8
     37     - RACKET_VERSION=6.9
     38     - RACKET_VERSION=6.10
     39     - RACKET_VERSION=6.10.1
     40     - RACKET_VERSION=6.11
     41     - RACKET_VERSION=6.12
     42     - RACKET_VERSION=7.0
     43     - RACKET_VERSION=7.1
     44     - RACKET_VERSION=7.2
     45     - RACKET_VERSION=HEAD
     46 
     47 matrix:
     48   allow_failures:
     49     #- env: RACKET_VERSION=6.1
     50     #- env: RACKET_VERSION=6.1.1
     51   fast_finish: true
     52 
     53 before_install:
     54 - git clone https://github.com/greghendershott/travis-racket.git
     55 - cat travis-racket/install-racket.sh | bash # pipe to bash not sh!
     56 - export PATH="${RACKET_DIR}/bin:${PATH}" #install-racket.sh can't set for us
     57 
     58 install:
     59  - raco pkg install --deps search-auto
     60 
     61 before_script:
     62 
     63 # Here supply steps such as raco make, raco test, etc.  Note that you
     64 # need to supply /usr/racket/bin/ -- it's not in PATH. You can run
     65 # `raco pkg install --deps search-auto repltest` to install any required
     66 # packages without it getting stuck on a confirmation prompt.
     67 script:
     68  - raco test -p repltest
     69  - raco setup --check-pkg-deps --pkgs repltest
     70 
     71 after_success:
     72  - raco pkg install --deps search-auto cover cover-coveralls
     73  - raco cover --verbose -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage .