Skip to content

Commit

Permalink
Merge pull request #40 from giordano/cirrus
Browse files Browse the repository at this point in the history
Add script for Cirrus CI for testing on FreeBSD
  • Loading branch information
giordano committed Jan 14, 2019
2 parents 4aefd1c + dc60e44 commit f132dd0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .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\")"

0 comments on commit f132dd0

Please sign in to comment.