Skip to content

Commit 011efe2

Browse files
authored
Merge pull request #65 from JuliaDiff/ox/integration_testsjl
move integration tests over to CirrusCI
2 parents d42ef9f + 61701e3 commit 011efe2

File tree

2 files changed

+21
-16
lines changed

2 files changed

+21
-16
lines changed

.cirrus.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
freebsd_instance:
2+
image: freebsd-12-0-release-amd64
3+
task:
4+
name: ChainRules.jl (dep test)
5+
env:
6+
matrix:
7+
- JULIA_VERSION: 1.0
8+
- JULIA_VERSION: 1.3
9+
install_script:
10+
- sh -c "$(fetch https://raw.githubusercontent.com/ararslan/CirrusCI.jl/master/bin/install.sh -o -)"
11+
build_script:
12+
- cirrusjl build
13+
test_script:
14+
- pkg install -y git
15+
- git clone "https://github.com/JuliaDiff/ChainRules.jl.git"
16+
# This is a special integration test to see if we broke ChainRules.jl with latest ChainRulesCore.jl changes
17+
# Start julia with the project set to newly cloned subdir ChainRules.jl
18+
# dev the current directory to get the version of ChainRulesCore that we are testing
19+
# update everything to resolve and sortout any versions,
20+
# finally test the ChainRules.jl
21+
- julia --project="ChainRules.jl" -e "using Pkg; Pkg.pkg\"dev .\"; Pkg.pkg\"up\"; Pkg.pkg\"test\""

.travis.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,3 @@ notifications:
2121
after_success:
2222
# push coverage results to Coveralls
2323
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
24-
25-
jobs:
26-
include:
27-
# Make sure ChainRules.jl works with this
28-
- state: Integration
29-
name: ChainRules master integration tests
30-
julia: 1.0
31-
os: linux
32-
script:
33-
- git clone "https://github.com/JuliaDiff/ChainRules.jl.git"
34-
# Start julia with the project set to newly cloned subdir ChainRules.jl
35-
# dev the current directory to get the version of ChainRulesCore that we are testing
36-
# update everything to resolve and sortout any versions,
37-
# finally test the ChainRules.jl
38-
- julia --project="ChainRules.jl" -e "using Pkg; Pkg.pkg\"dev .\"; Pkg.pkg\"up\"; Pkg.pkg\"test\""
39-
after_success: skip

0 commit comments

Comments
 (0)