Skip to content

Commit cbe200c

Browse files
committed
Enable coverage
1 parent 20aa700 commit cbe200c

File tree

2 files changed

+6
-17
lines changed

2 files changed

+6
-17
lines changed

.travis.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,6 @@ notifications:
1010
git:
1111
depth: 99999999
1212

13-
## uncomment the following lines to allow failures on nightly julia
14-
## (tests will run but not make your overall status red)
15-
#matrix:
16-
# allow_failures:
17-
# - julia: nightly
18-
19-
## uncomment and modify the following lines to manually install system packages
20-
#addons:
21-
# apt: # apt-get for linux
22-
# packages:
23-
# - gfortran
24-
#before_script: # homebrew for mac
25-
# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
26-
27-
## uncomment the following lines to override the default test script
28-
#script:
29-
# - julia -e 'Pkg.clone(pwd()); Pkg.build("NNlib"); Pkg.test("NNlib"; coverage=true)'
13+
# Submit to Codecov
14+
after_success:
15+
- julia -e 'cd(Pkg.dir("NNlib")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'

appveyor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ test_script:
4040
# on_success:
4141
# - echo "%JL_CODECOV_SCRIPT%"
4242
# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"
43+
44+
after_test:
45+
- C:\projects\julia\bin\julia -e "cd(Pkg.dir(\"NNlib\")); Pkg.add(\"Coverage\"); using Coverage; Codecov.submit(process_folder())"

0 commit comments

Comments
 (0)