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

Last change on this file since 15296 was 15296, checked in by Mark Evenson, 16 months ago

ci: reorder tests to prioritize currently more interesting ones

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