source: trunk/abcl/.travis.yml @ 15268

Last change on this file since 15268 was 15268, checked in by Mark Evenson, 2 years ago

ci: just output hashes for release

Installing the necessary TeXlive? chain to render the manual proves to
be a very time-wise expensive operation on Travis CI for a generic
container. For now, disable the creation of full release artifacts
just printing the hash and sizes for what exists.

Use and set the environment variable ABCL_ROOT to start to make the CI
instructions implementation independent.

File size: 2.4 KB
Line 
1os:
2  - linux
3  - osx
4
5# Linux system
6# 'bionic' is latest Ubuntu LTS available on Travis
7dist: bionic
8
9# macOS system
10# 'xcode11.2' is macOS 10.14 xcode 11B41
11osx_image: xcode11.2
12
13# get the default java environment from Travis container
14language: java
15
16# N.b. this will possibly pull in additional Java runtimes
17addons:
18  apt:
19    packages:
20      - ant
21      - maven
22      # Needed for rendering the User Manual
23      # Unfortunately, installing TeX from scratch is judged too expensive computationally.
24      # - texlive-full
25  homebrew:
26    update: true
27    packages:
28      - ant
29      - maven
30      # Needed for rendering the User Manual
31      # Unfortunately, installing TeX from scratch is judged too expensive computationally.
32      # - mactex
33env:
34  - ABCL_JDK=openjdk8  ABCL_ROOT=${TRAVIS_BUILD_DIR}
35  - ABCL_JDK=openjdk11 ABCL_ROOT=${TRAVIS_BUILD_DIR}
36  - ABCL_JDK=openjdk14 ABCL_ROOT=${TRAVIS_BUILD_DIR}
37
38install:
39  - echo PWD=$(pwd) && echo ABCL_ROOT=${ABCL_ROOT}
40  - bash -x ${ABCL_ROOT}/ci/install-adoptjdk.bash ${ABCL_JDK}
41
42  # Ensure we can invoke ant
43  - . ${ABCL_ROOT}/ci/ensure-jenv-is-present.bash && ant abcl.diagnostic
44
45  # Set build and runtime options for the JVM hosting ABCL
46  - bash -x ./ci/create-abcl-properties.bash ${ABCL_JDK}
47
48  # Build ABCL
49  - . ${ABCL_ROOT}/ci/ensure-jenv-is-present.bash && ant abcl
50
51  # Configure finding abcl build source via ASDF
52  - bash -x ${ABCL_ROOT}/ci/asdf-finds-abcl.bash
53
54  # Install Quicklisp
55  - ${ABCL_ROOT}/abcl --eval '(require :asdf)' --eval '(require :abcl-contrib)' --eval '(asdf:load-system :quicklisp-abcl :force t)' --eval '(progn (setf ql-util::*do-not-prompt* t)(ql:add-to-init-file))' --eval '(ext:quit)'
56
57  # Install the ANSI-TEST suite
58  - bash -x ${ABCL_ROOT}/ci/sync-ansi-test.bash
59
60# TODO: figure out how to add abcl to our path
61
62script:
63  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-cffi.lisp
64  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-cl+ssl.lisp
65  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-abcl.lisp
66  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/abcl-prove.lisp
67  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-ansi.lisp
68 
69  # This would build a release, which needs an installed TeX which is judged too
70  # "expensive" to leave as the standard CI process
71  # - pushd ${ABCL_ROOT} && ant abcl.release abcl.wrapper && popd
72 
73  # Print the hashes and sizes of build artifacts
74  - pushd ${ABCL_ROOT} && ./abcl --batch --load ./ci/release.lisp  && popd
75 
76
77 
78
79
80 
Note: See TracBrowser for help on using the repository browser.