Updated package template.
* Add 6.4 version, as this is now the default one to download on the website. * raco doc <<name>> should use raco docs <<name>> * raco is now on the PATH, remove warning * Change `raco setup --check-deps <<name>>` to `raco setup --check-pkg-deps --pkgs <<name>>` (the former seems obsolete). * Move `raco pkg install --deps search-auto` to the `install:` section, so that it is done before running the tests * Move `raco pkg install --deps search-auto cover`, to the `after_success section`, since `raco cover` is run there. * Fixed .travis.yml syntax (wrong indentation for fields under "matrix:") * Clone https://github.com/greghendershott/travis-racket.git to a separate directory, not a subdirectory of the current package, as this can cause problems (see https://travis-ci.org/jsmaniac/type-expander/jobs/121099218#L824)
This commit is contained in:
parent
8db8e643bb
commit
c0b6378e49
|
@ -87,7 +87,8 @@ EOS
|
||||||
\#*
|
\#*
|
||||||
.\#*
|
.\#*
|
||||||
.DS_Store
|
.DS_Store
|
||||||
compiled
|
compiled/
|
||||||
|
/doc/
|
||||||
|
|
||||||
EOS
|
EOS
|
||||||
)))
|
)))
|
||||||
|
@ -122,34 +123,33 @@ env:
|
||||||
- RACKET_VERSION=6.1.1
|
- RACKET_VERSION=6.1.1
|
||||||
- RACKET_VERSION=6.2
|
- RACKET_VERSION=6.2
|
||||||
- RACKET_VERSION=6.3
|
- RACKET_VERSION=6.3
|
||||||
|
- RACKET_VERSION=6.4
|
||||||
- RACKET_VERSION=HEAD
|
- RACKET_VERSION=HEAD
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
env: RACKET_VERSION=HEAD
|
# - env: RACKET_VERSION=HEAD
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- git clone https://github.com/greghendershott/travis-racket.git
|
- git clone https://github.com/greghendershott/travis-racket.git ~/travis-racket
|
||||||
- cat travis-racket/install-racket.sh | bash # pipe to bash not sh!
|
- 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
|
- export PATH="${RACKET_DIR}/bin:${PATH}" #install-racket.sh can't set for us
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- raco pkg install --deps search-auto
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
|
|
||||||
# Here supply steps such as raco make, raco test, etc. Note that you
|
# Here supply steps such as raco make, raco test, etc. You can run
|
||||||
# need to supply /usr/racket/bin/ -- it's not in PATH. You can run
|
# `raco pkg install --deps search-auto` to install any required
|
||||||
# `raco pkg install --deps search-auto <<name>>` to install any required
|
|
||||||
# packages without it getting stuck on a confirmation prompt.
|
# packages without it getting stuck on a confirmation prompt.
|
||||||
script:
|
script:
|
||||||
- raco pkg install --deps search-auto cover
|
|
||||||
- raco test -x -p <<name>>
|
- raco test -x -p <<name>>
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- raco setup --check-deps <<name>>
|
- raco setup --check-pkg-deps --pkgs <<name>>
|
||||||
- raco pkg install --deps search-auto cover-coveralls
|
- raco pkg install --deps search-auto cover cover-coveralls
|
||||||
- raco pkg install --deps search-auto
|
|
||||||
- raco cover -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage .
|
- raco cover -b -f coveralls -d $TRAVIS_BUILD_DIR/coverage .
|
||||||
|
|
||||||
EOS
|
EOS
|
||||||
|
@ -196,7 +196,7 @@ EOS
|
||||||
;; To uninstall:
|
;; To uninstall:
|
||||||
;; $ raco pkg remove <<name>>
|
;; $ raco pkg remove <<name>>
|
||||||
;; To view documentation:
|
;; To view documentation:
|
||||||
;; $ raco doc <<name>>
|
;; $ raco docs <<name>>
|
||||||
;;
|
;;
|
||||||
;; For your convenience, we have included a LICENSE.txt file, which links to
|
;; For your convenience, we have included a LICENSE.txt file, which links to
|
||||||
;; the GNU Lesser General Public License.
|
;; the GNU Lesser General Public License.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user