Skip to content

Commit f57b004

Browse files
authored
Update .cirrus.yml (#133)
1 parent 88e29c0 commit f57b004

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

.cirrus.yml

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
1-
freebsd_instance:
2-
image: freebsd-12-1-release-amd64
31
task:
4-
name: FreeBSD
5-
env:
6-
matrix:
7-
- JULIA_VERSION: 1.6
8-
- JULIA_VERSION: 1
9-
- JULIA_VERSION: nightly
10-
allow_failures: $JULIA_VERSION == 'nightly'
11-
install_script:
12-
- sh -c "$(fetch https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh -o -)"
2+
matrix:
3+
- name: FreeBSD
4+
freebsd_instance:
5+
image_family: freebsd-13-3
6+
env:
7+
matrix:
8+
- JULIA_VERSION: 1
9+
install_script: |
10+
URL="https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh"
11+
set -x
12+
if [ "$(uname -s)" = "Linux" ] && command -v apt; then
13+
apt update
14+
apt install -y curl
15+
fi
16+
if command -v curl; then
17+
sh -c "$(curl ${URL})"
18+
elif command -v wget; then
19+
sh -c "$(wget ${URL} -q -O-)"
20+
elif command -v fetch; then
21+
sh -c "$(fetch ${URL} -o -)"
22+
fi
1323
build_script:
1424
- cirrusjl build
1525
test_script:

0 commit comments

Comments
 (0)