Skip to content

Commit cfab57b

Browse files
authored
Merge pull request #92 from yuehhua/datasets
Integrated datasets
2 parents 87a7059 + 46c6374 commit cfab57b

File tree

16 files changed

+422
-46
lines changed

16 files changed

+422
-46
lines changed

.gitlab-ci.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ variables:
66
CI_THOROUGH: 'true'
77
JULIA_CUDA_VERSION: '10.2'
88
JULIA_CUDA_USE_BINARYBUILDER: 'true'
9+
DATADEPS_ALWAYS_ACCEPT: 'true'
910

1011
include:
1112
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v6.yml'
@@ -18,6 +19,20 @@ test:v1.4:
1819
- .test
1920
variables:
2021
CI_VERSION_TAG: 'v1.4'
22+
script:
23+
- |
24+
julia --project -e '
25+
using Pkg; Pkg.add("PyCall");
26+
Pkg.instantiate();
27+
ENV["PYTHON"] = ""; Pkg.build();
28+
using PyCall; pyimport_conda("scipy", "scipy")'
29+
- julia --project -e 'using PyCall; pyimport_conda("scipy", "scipy")' # retry
30+
- |
31+
julia --project -e '
32+
using Pkg;
33+
Pkg.instantiate();
34+
Pkg.build();
35+
Pkg.test(; coverage=true);'
2136
tags:
2237
- nvidia
2338
- cuda_10.2
@@ -28,6 +43,20 @@ test:v1.5:
2843
- .test
2944
variables:
3045
CI_VERSION_TAG: 'v1.5'
46+
script:
47+
- |
48+
julia --project -e '
49+
using Pkg; Pkg.add("PyCall");
50+
Pkg.instantiate();
51+
ENV["PYTHON"] = ""; Pkg.build();
52+
using PyCall; pyimport_conda("scipy", "scipy")'
53+
- julia --project -e 'using PyCall; pyimport_conda("scipy", "scipy")' # retry
54+
- |
55+
julia --project -e '
56+
using Pkg;
57+
Pkg.instantiate();
58+
Pkg.build();
59+
Pkg.test(; coverage=true);'
3160
tags:
3261
- nvidia
3362
- cuda_10.2
@@ -39,6 +68,20 @@ test:dev:
3968
allow_failure: true
4069
variables:
4170
CI_VERSION_TAG: 'v1.6'
71+
script:
72+
- |
73+
julia --project -e '
74+
using Pkg; Pkg.add("PyCall");
75+
Pkg.instantiate();
76+
ENV["PYTHON"] = ""; Pkg.build();
77+
using PyCall; pyimport_conda("scipy", "scipy")'
78+
- julia --project -e 'using PyCall; pyimport_conda("scipy", "scipy")' # retry
79+
- |
80+
julia --project -e '
81+
using Pkg;
82+
Pkg.instantiate();
83+
Pkg.build();
84+
Pkg.test(; coverage=true);'
4285
tags:
4386
- nvidia
4487
- cuda_10.2

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ language: julia
55
os:
66
- linux
77
- osx
8-
- windows
98

109
julia:
1110
- 1.4
@@ -17,14 +16,20 @@ branches:
1716
- master
1817
- develop
1918

19+
script:
20+
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
21+
- julia --project -e 'using Pkg; Pkg.add("PyCall"); Pkg.instantiate(); ENV["PYTHON"] = ""; Pkg.build(); using PyCall; pyimport_conda("scipy", "scipy")'
22+
- julia --project -e 'using PyCall; pyimport_conda("scipy", "scipy")' # retry
23+
- julia --project -e 'using Pkg; Pkg.test(; coverage=true)';
24+
2025
after_success:
2126
- julia -e 'using Pkg; cd(Pkg.dir("GeometricFlux")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
2227

2328
notifications:
2429
email: false
2530

2631
env:
27-
- JULIA_CUDA_SILENT=true
32+
- JULIA_CUDA_SILENT=true DATADEPS_ALWAYS_ACCEPT=true
2833

2934
jobs:
3035
allow_failures:

0 commit comments

Comments
 (0)