source: tags/1.8.0/.travis.yml

Last change on this file was 15385, checked in by Mark Evenson, 4 years ago

ci: various maintenance changes

Travis CI now uses versions of STATIC-VECTORS, CL+SSL, and CFFI from
Quicklisp distribution as all outstanding patches have been absorbed
upstream. While this means testing will change depending on the
current Quicklisp distribution when the tests are invoked, it will
more properly reflect common usage of these systems.

Overhaul ABCL-PROVE system definition explicitly enumerating tests for
more deterministic behavior. Remove unnecessary ABCL-PROVE/T
sub-system. Remove testing of JEANNIE from ABCL-PROVE so that it has
no dependencies external to the ABCL source tree.

Add TIME forms to ABCL/TEST/ANSI invocation.

File size: 3.2 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=openjdk15 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 patched version of cl+ssl
58  #  - bash -x ${ABCL_ROOT}/ci/install-cl+ssl.bash
59
60  # Install the patched version of cffi
61  # - bash -x ${ABCL_ROOT}/ci/install-cffi.bash
62
63  # Install the patched version of static-vectors
64  # - bash -x ${ABCL_ROOT}/ci/install-static-vectors.bash
65
66  # Install Jeannie for testing
67  - bash -x ${ABCL_ROOT}/ci/install-jeannie.bash
68
69  # Install the ANSI-TEST suite
70  - bash -x ${ABCL_ROOT}/ci/install-ansi-test.bash
71
72
73# TODO: figure out how to add abcl to our path
74
75script:
76  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-abcl-prove.lisp
77  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-static-vectors.lisp
78  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-cffi.lisp
79  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-cl+ssl.lisp
80  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-abcl-introspect.lisp
81  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-abcl.lisp
82  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-jeannie.lisp
83  # IRONCLAD takes a long time to test, so we place it near the end
84  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-ironclad.lisp
85  - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-ansi.lisp
86 
87  # This would build a release, which needs an installed TeX which is judged too
88  # "expensive" to leave as the standard CI process
89  # - pushd ${ABCL_ROOT} && ant abcl.release abcl.wrapper && popd
90 
91  # Print the hashes and sizes of build artifacts
92  - pushd ${ABCL_ROOT} && ./abcl --batch --load ./ci/release.lisp  && popd
93 
94
95 
96
97
98 
Note: See TracBrowser for help on using the repository browser.