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

Last change on this file since 15259 was 15259, checked in by Mark Evenson, 3 years ago

build: support abcl.properties creation openjdk{6,7,8,11,13,14}

Additionally add test for openjdk14 to the Travis-CI build.

Improve script for creating build properties, which may be invoked
like:

bash ci/create-abcl-properties.bash openjdk8

Currently this script has baked-in "knowledge" of options for various
platforms for now, but will eventually directly transcribe from the
"facts" in <file:abcl.rdf>.

  • * *

Update RDF

File size: 1.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  homebrew:
23    update: true
24    packages:
25      - ant
26      - maven
27env:
28  - ABCL_JDK=openjdk8
29  - ABCL_JDK=openjdk11
30  - ABCL_JDK=openjdk14
31
32install:
33  - echo $(pwd)
34  - bash -x ${TRAVIS_BUILD_DIR}/ci/install-adoptjdk.bash ${ABCL_JDK}
35  # Ensure we can invoke ant
36  - . ${TRAVIS_BUILD_DIR}/ci/ensure-jenv-is-present.bash && ant abcl.diagnostic
37  # Set build and runtime options for the JVM hosting ABCL
38  - bash -x ./ci/create-abcl-properties.bash ${ABCL_JDK}
39  # Build ABCL
40  - . ${TRAVIS_BUILD_DIR}/ci/ensure-jenv-is-present.bash && ant abcl
41  # Configure finding abcl build source via ASDF
42  - bash -x ${TRAVIS_BUILD_DIR}/ci/asdf-finds-abcl.bash
43  # Install Quicklisp
44  - ${TRAVIS_BUILD_DIR}/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)'
45  # Install ANSI tests
46  - bash -x ${TRAVIS_BUILD_DIR}/ci/sync-ansi-test.bash
47
48# TODO: figure out how to add abcl to our path
49
50script:
51  - ${TRAVIS_BUILD_DIR}/abcl --batch --load ${TRAVIS_BUILD_DIR}/ci/test-cffi.lisp
52  - ${TRAVIS_BUILD_DIR}/abcl --batch --load ${TRAVIS_BUILD_DIR}/ci/test-cl+ssl.lisp
53  - ${TRAVIS_BUILD_DIR}/abcl --batch --load ${TRAVIS_BUILD_DIR}/ci/test-abcl.lisp
54  - ${TRAVIS_BUILD_DIR}/abcl --batch --load ${TRAVIS_BUILD_DIR}/ci/abcl-prove.lisp
55  - ${TRAVIS_BUILD_DIR}/abcl --batch --load ${TRAVIS_BUILD_DIR}/ci/test-ansi.lisp
56
57 
58
59
60 
Note: See TracBrowser for help on using the repository browser.