www

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

.travis.yml (3047B)


      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     #- RACKET_VERSION=6.0   RECENT=false
     24     #- RACKET_VERSION=6.1   RECENT=false
     25     #- RACKET_VERSION=6.1.1 RECENT=true
     26     #- RACKET_VERSION=6.2   RECENT=true
     27     ### These versions use a different internal representation for syntax/parse structs,
     28     ### since we are relying on them for compatibility, it's simpler to skip them.
     29     ###- RACKET_VERSION=6.3   RECENT=true
     30     ###- RACKET_VERSION=6.4   RECENT=true
     31     ###- RACKET_VERSION=6.5   RECENT=true
     32     ###- RACKET_VERSION=6.6   RECENT=true
     33     ###- RACKET_VERSION=6.7   RECENT=true
     34     - RACKET_VERSION=6.8
     35     - RACKET_VERSION=6.9
     36     - RACKET_VERSION=6.10
     37     - RACKET_VERSION=6.10.1
     38     - RACKET_VERSION=6.11
     39     - RACKET_VERSION=6.12
     40     - RACKET_VERSION=7.0
     41     - RACKET_VERSION=7.1
     42     - RACKET_VERSION=7.2
     43     - RACKET_VERSION=7.3
     44     - RACKET_VERSION=7.4
     45     - RACKET_VERSION=7.5
     46     - RACKET_VERSION=7.6
     47     - RACKET_VERSION=7.7
     48     - RACKET_VERSION=7.8
     49     - RACKET_VERSION=7.9
     50     - RACKET_VERSION=8.0
     51     - RACKET_VERSION=8.0    RACKET_CS=1
     52     - RACKET_VERSION=HEAD
     53 
     54 matrix:
     55   allow_failures:
     56 #   - env: RACKET_VERSION=HEAD
     57   fast_finish: true
     58 
     59 before_install:
     60 - git clone https://github.com/greghendershott/travis-racket.git ~/travis-racket
     61 - cat ~/travis-racket/install-racket.sh | bash # pipe to bash not sh!
     62 - export PATH="${RACKET_DIR}/bin:${PATH}" #install-racket.sh can't set for us
     63 
     64 install:
     65  - raco pkg install -j 1 --deps search-auto
     66 
     67 before_script:
     68 
     69 # Here supply steps such as raco make, raco test, etc.  You can run
     70 # `raco pkg install --deps search-auto` to install any required
     71 # packages without it getting stuck on a confirmation prompt.
     72 script:
     73  - raco test -p stxparse-info
     74  - raco setup --check-pkg-deps --pkgs stxparse-info
     75  - raco pkg install --deps search-auto doc-coverage
     76  - raco doc-coverage stxparse-info/current-pvars stxparse-info/parse stxparse-info/case
     77  # TODO: should also run doc-coverage on stxparse-info itself, but it refuses to see the docs for pattern-expander? pattern-expander pattern-expander? pattern-expander?.
     78  #- if $RECENT; then raco pkg install --deps search-auto cover cover-codecov; fi
     79  #- if $RECENT; then raco cover -b -f codecov -d $TRAVIS_BUILD_DIR/coverage .; fi
     80 
     81 after_success: