From dc60e44a232004b006d050c398b21d2efec557c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Sun, 13 Jan 2019 21:37:01 +0100 Subject: [PATCH] Add script for Cirrus CI for testing on FreeBSD --- .cirrus.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml new file mode 100644 index 0000000..995aee1 --- /dev/null +++ b/.cirrus.yml @@ -0,0 +1,17 @@ +freebsd_instance: + image: freebsd-12-0-release-amd64 +freebsd_test_task: + env: + matrix: + - JULIA_VERSION: "1.0" + install_script: + - pkg install -y curl + - mkdir -p ~/julia + - curl -s -L --retry 7 "https://julialang-s3.julialang.org/bin/freebsd/x64/${JULIA_VERSION}/julia-${JULIA_VERSION}-latest-freebsd-x86_64.tar.gz" | tar -C ~/julia -x -z --strip-components=1 -f - + - ln -s "${HOME}/julia/bin/julia" /usr/local/bin/julia + - julia --color=yes -e "using InteractiveUtils; versioninfo()" + build_script: + - julia --color=yes -e "using Pkg; Pkg.add(PackageSpec(name=\"ERFA\", path=pwd()))" + - julia --color=yes -e "using Pkg; Pkg.build(\"ERFA\")" + test_script: + - julia --color=yes -e "using Pkg; Pkg.test(\"ERFA\")"