Skip to content

Commit

Permalink
Merge 077eca4 into 94ac487
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge committed Jan 8, 2020
2 parents 94ac487 + 077eca4 commit 2b7ee9e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 11 deletions.
36 changes: 27 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,35 @@
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx

after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'

branches:
only:
- master
- staging
- trying
- /^release\/.*$/ # release branches
- /^v[0-9]+\.[0-9]+\.[0-9]+$/ # version tags

julia:
- 1.3
- "1.3"
- "1"
- nightly

language: julia

matrix:
allow_failures:
- julia: nightly
# - julia: nightly
fast_finish: true

notifications:
email: false
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'

os:
- linux
- osx
- windows

script: julia --code-coverage --inline=no -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)'
2 changes: 1 addition & 1 deletion src/MicroCoverage.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module MicroCoverage

greet() = print("Hello World!")

end # module
end # end module MicroCoverage
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ using MicroCoverage
using Test

@testset "MicroCoverage.jl" begin
# Write your own tests here.
@test MicroCoverage.greet() === nothing
end

0 comments on commit 2b7ee9e

Please sign in to comment.