-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] add macos 12 aka xcode14 for travis
- Loading branch information
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
language: generic | ||
|
||
jobs: | ||
include: | ||
- os: osx | ||
arch: amd64 | ||
osx_image: xcode14.2 | ||
|
||
env: | ||
- LISP: sbcl | ||
|
||
install: | ||
- echo $PWD | ||
- ls | ||
- bash <(curl -s https://raw.githubusercontent.com/digikar99/lisp-travis-lite/master/run.sh) | ||
|
||
script: | ||
- echo $PATH | ||
|
||
- ls | ||
- echo Testing without numpy | ||
- python3 -m venv ./py4cl2-cffi/ | ||
- source ./py4cl2-cffi/bin/activate | ||
- cl --eval '(push (pathname "./") ql:*local-project-directories*)' --eval '(ql:quickload "py4cl2-cffi")' --eval '(assert (= 5 (py4cl2-cffi:pyeval 5)))' --eval '(print py4cl2-cffi:*internal-features*)' | ||
|
||
- echo Download download-dependencies | ||
- git clone https://github.com/digikar99/download-dependencies $HOME/quicklisp/local-projects/download-dependencies | ||
|
||
- echo Download Tests | ||
- git clone https://github.com/digikar99/py4cl2-cffi-tests $HOME/quicklisp/local-projects/py4cl2-cffi-tests | ||
|
||
- echo Download Test Dependencies | ||
- | | ||
cl --eval '(ql:quickload "download-dependencies")' \ | ||
--eval '(in-package :download-dependencies)' \ | ||
--eval '(push (pathname "./") ql:*local-project-directories*)' \ | ||
--eval '(let ((*dependencies-home* (first ql:*local-project-directories*))) (ensure-system "py4cl2-cffi-tests"))' | ||
- echo Installing python modules | ||
- pip install --upgrade pip | ||
- pip3 install numpy | ||
- pip3 install networkx | ||
- pip3 install matplotlib | ||
|
||
- echo Compiling Tests | ||
- cl --load "ci-pre-test.lisp" | ||
|
||
# Testing it on the second load confirms that functionalities do not | ||
# solely eval-when compile-toplevel, and that they persist across multiple loads. | ||
- echo Running Tests | ||
- cl --load "ci-test.lisp" || cl --load "ci-test.lisp" | ||
|
||
|
||
|
||
|
||
notifications: | ||
email: false |