forked from JuliaDiff/ChainRulesCore.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.cirrus.yml
21 lines (21 loc) · 911 Bytes
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
freebsd_instance:
image: freebsd-12-0-release-amd64
task:
name: ChainRules.jl (dep test)
env:
matrix:
- JULIA_VERSION: 1.0
- JULIA_VERSION: 1.3
install_script:
- sh -c "$(fetch https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh -o -)"
build_script:
- cirrusjl build
test_script:
- pkg install -y git
- git clone "https://github.com/JuliaDiff/ChainRules.jl.git"
# This is a special integration test to see if we broke ChainRules.jl with latest ChainRulesCore.jl changes
# Start julia with the project set to newly cloned subdir ChainRules.jl
# dev the current directory to get the version of ChainRulesCore that we are testing
# update everything to resolve and sortout any versions,
# finally test the ChainRules.jl
- julia --project="ChainRules.jl" -e "using Pkg; Pkg.pkg\"dev .\"; Pkg.pkg\"up\"; Pkg.pkg\"test\""