Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script for Cirrus CI for testing on FreeBSD #26

Merged
merged 1 commit into from
Jan 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -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=\"WCS\", path=pwd()))"
- julia --color=yes -e "using Pkg; Pkg.build(\"WCS\")"
test_script:
- julia --color=yes -e "using Pkg; Pkg.test(\"WCS\")"