Skip to content

Commit

Permalink
Merge pull request #62 from korsbo/fix_travis
Browse files Browse the repository at this point in the history
Fix CI after new registry system.
  • Loading branch information
korsbo committed Jul 5, 2019
2 parents 644e1c5 + efd1cc0 commit edfd0f0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ notifications:
# uncomment the following lines to override the default test script
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'using Pkg; Pkg.clone(pwd()); Pkg.test("Latexify"; coverage=true)'
- julia --project -e 'using Pkg; Pkg.test("Latexify"; coverage=true)'
after_success:
# push coverage results to Coveralls and Codecov
- julia -e 'using Pkg; import Latexify; cd(joinpath(dirname(pathof(Latexify)), "..")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(Codecov.process_folder())'
- julia -e 'using Pkg; ps=Pkg.PackageSpec(name="Documenter", version="0.19"); Pkg.add(ps); Pkg.pin(ps), import Latexify;
cd(dirname(pathof(Latexify))); include(joinpath("..", "docs", "make.jl"))'
- julia --project -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(Codecov.process_folder())'
- julia --project -e 'using Pkg; ps=Pkg.PackageSpec(name="Documenter", version="0.19"); Pkg.add(ps); Pkg.pin(ps), import Latexify;
include(joinpath("..", "docs", "make.jl"))'
2 changes: 2 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ repo = "https://github.com/korsbo/Latexify.jl.git"
version = "0.8.2"

[deps]
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"

Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ install:
build_script:
# Need to convert from shallow to complete for Pkg.clone to work
- IF EXIST .git\shallow (git fetch --unshallow)
- C:\julia\bin\julia -e "using InteractiveUtils; versioninfo();
using Pkg; Pkg.clone(pwd(), \"Latexify\"); Pkg.build(\"Latexify\")"
- C:\julia\bin\julia --project -e "using InteractiveUtils; versioninfo();
using Pkg"

test_script:
- echo "%JL_TEST_SCRIPT%"
Expand Down

0 comments on commit edfd0f0

Please sign in to comment.