Skip to content

Commit f079c64

Browse files
giordanoararslan
authored andcommitted
Use CirrusCI.jl to test with Cirrus (#145)
1 parent d8727a0 commit f079c64

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.cirrus.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
freebsd_instance:
22
image: freebsd-12-0-release-amd64
3-
freebsd_test_task:
3+
task:
4+
name: FreeBSD
45
env:
56
matrix:
67
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "false"
7-
JULIA_VERSION: "1.0"
8+
JULIA_VERSION: 1.0
89
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "true"
9-
JULIA_VERSION: "1.0"
10+
JULIA_VERSION: 1.0
11+
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "false"
12+
JULIA_VERSION: 1.1
13+
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "true"
14+
JULIA_VERSION: 1.1
15+
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "false"
16+
JULIA_VERSION: nightly
17+
- JULIA_SPECIALFUNCTIONS_BUILD_SOURCE: "true"
18+
JULIA_VERSION: nightly
1019
install_script:
11-
- pkg install -y curl
1220
- if [ "${JULIA_SPECIALFUNCTIONS_BUILD_SOURCE}" = "true" ]; then pkg install -y gmake gcc; fi
13-
- mkdir -p ~/julia
14-
- 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 -
15-
- ln -s "${HOME}/julia/bin/julia" /usr/local/bin/julia
16-
- julia --color=yes -e "using InteractiveUtils; versioninfo()"
21+
- sh -c "$(fetch https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh -o -)"
1722
build_script:
18-
- julia --color=yes -e "using Pkg; Pkg.add(PackageSpec(name=\"SpecialFunctions\", path=pwd()))"
19-
- julia --color=yes -e "using Pkg; Pkg.build(\"SpecialFunctions\")"
23+
- cirrusjl build
2024
test_script:
21-
- julia --color=yes -e "using Pkg; Pkg.test(\"SpecialFunctions\")"
25+
- cirrusjl test

0 commit comments

Comments
 (0)