Skip to content

Commit

Permalink
coverage in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeBouton committed Mar 16, 2019
1 parent cb68abf commit 2d655da
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,10 @@ script:
- git clone https://github.com/JuliaRegistries/General $(julia -e 'import Pkg; println(joinpath(Pkg.depots1(), "registries", "General"))')
- git clone https://github.com/JuliaPOMDP/Registry $(julia -e 'import Pkg; println(joinpath(Pkg.depots1(), "registries", "JuliaPOMDP"))')
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
<<<<<<< HEAD
- julia --project --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(url="https://github.com/sisl/Vec.jl")); Pkg.add(PackageSpec(url="https://github.com/sisl/Records.jl"));'
- julia --project --check-bounds=yes -e 'using Pkg; Pkg.add(PackageSpec(url="https://github.com/sisl/AutomotiveDrivingModels.jl")); Pkg.add(PackageSpec(url="https://github.com/sisl/AutoViz.jl")); Pkg.add(PackageSpec(url="https://github.com/JuliaPOMDP/RLInterface.jl")); '
- julia --project --check-bounds=yes -e 'Pkg.build("AutomotivePOMDPs"); Pkg.test("AutomotivePOMDPs"; coverage=true)'

- julia --project --color=yes -e 'import Pkg; Pkg.build(); Pkg.test(coverage=true)'
after_success:
- julia --project -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
- julia --project -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
=======
- julia --project --color=yes -e 'import Pkg; Pkg.build(); Pkg.test(coverage=true)'
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir("AutomotivePOMDPs")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'cd(Pkg.dir("AutomotivePOMDPs")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
jobs:
include:
- stage: "Documentation"
Expand All @@ -66,4 +55,3 @@ jobs:
Pkg.instantiate()'
- julia --project=docs/ docs/make.jl
after_success: skip
>>>>>>> 09f2341a53620aaa0158b668569c2164cb6f684d

0 comments on commit 2d655da

Please sign in to comment.