1 | os: |
---|
2 | - linux |
---|
3 | - osx |
---|
4 | |
---|
5 | # Linux system |
---|
6 | # 'bionic' is latest Ubuntu LTS available on Travis |
---|
7 | dist: bionic |
---|
8 | |
---|
9 | # macOS system |
---|
10 | # 'xcode11.2' is macOS 10.14 xcode 11B41 |
---|
11 | osx_image: xcode11.2 |
---|
12 | |
---|
13 | # get the default java environment from Travis container |
---|
14 | language: java |
---|
15 | |
---|
16 | # N.b. this will possibly pull in additional Java runtimes |
---|
17 | addons: |
---|
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 |
---|
33 | env: |
---|
34 | - ABCL_JDK=openjdk8 ABCL_ROOT=${TRAVIS_BUILD_DIR} |
---|
35 | - ABCL_JDK=openjdk11 ABCL_ROOT=${TRAVIS_BUILD_DIR} |
---|
36 | - ABCL_JDK=openjdk17 ABCL_ROOT=${TRAVIS_BUILD_DIR} |
---|
37 | |
---|
38 | install: |
---|
39 | - echo PWD=$(pwd) && echo ABCL_ROOT=${ABCL_ROOT} |
---|
40 | - bash -x ${ABCL_ROOT}/ci/install-openjdk.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 | |
---|
75 | script: |
---|
76 | - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-abcl-prove.lisp |
---|
77 | - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-abcl.lisp |
---|
78 | - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-abcl-introspect.lisp |
---|
79 | - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-jeannie.lisp |
---|
80 | - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-cffi.lisp |
---|
81 | - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-static-vectors.lisp |
---|
82 | - ${ABCL_ROOT}/abcl --batch --load ${ABCL_ROOT}/ci/test-cl+ssl.lisp |
---|
83 | # IRONCLAD takes a long time to test |
---|
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 | |
---|
88 | # This would build a release, which needs an installed TeX which is judged too |
---|
89 | # "expensive" to leave as the standard CI process |
---|
90 | # - pushd ${ABCL_ROOT} && ant abcl.release abcl.wrapper && popd |
---|
91 | |
---|
92 | # Print the hashes and sizes of build artifacts |
---|
93 | - pushd ${ABCL_ROOT} && ./abcl --batch --load ./ci/release.lisp && popd |
---|
94 | |
---|
95 | |
---|
96 | |
---|
97 | |
---|
98 | |
---|
99 | |
---|