Skip to content

Commit 495a5f6

Browse files
authored
Test that works with ChainRules (#28)
* =add integration job * =fix yaml * =fix yaml * =fix yaml * =fix script * =fix script * =fix script3 * =fix script4 * Update Project.toml Co-Authored-By: Nick Robinson <npr251@gmail.com> * Update .travis.yml * Update .travis.yml * =fix indent
1 parent b0cf05b commit 495a5f6

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ julia:
66
- 1.0
77
- 1.1
88
- 1.2
9+
- 1.3
910
- nightly
1011
matrix:
1112
allow_failures:
13+
- julia: 1.3
1214
- julia: nightly
1315
notifications:
1416
email: false
@@ -19,3 +21,19 @@ notifications:
1921
after_success:
2022
# push coverage results to Coveralls
2123
- 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

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Cassette = "^0.2"
1010
julia = "^1.0"
1111

1212
[extras]
13-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1413
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
14+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1515

1616
[targets]
1717
test = ["Test", "LinearAlgebra"]

0 commit comments

Comments
 (0)