diff --git a/.travis.yml b/.travis.yml index bbeac50e..f75f3a59 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,7 +42,7 @@ before_install: notifications: email: true # uncomment the following lines to override the default test script -script: +before_script: - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi - julia -e 'Pkg.clone(pwd()); Pkg.build("Plots")' - julia test/travis_commands.jl @@ -54,6 +54,7 @@ script: # # - julia -e 'Pkg.clone("https://github.com/spencerlyon2/PlotlyJS.jl.git")' # - julia -e 'ENV["PYTHON"] = ""; Pkg.add("PyPlot"); Pkg.build("PyPlot")' # + script: # # - $TESTCMD -e 'Pkg.test("Plots"; coverage=false)' - # - julia -e 'Pkg.test("Plots"; coverage=false)' + - julia -e 'Pkg.test("Plots"; coverage=false)' # # - julia -e 'cd(Pkg.dir("Plots")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())' diff --git a/appveyor.yml b/appveyor.yml index cc07d84a..ef746f4f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -27,7 +27,7 @@ build_script: # Need to convert from shallow to complete for Pkg.clone to work - IF EXIST .git\shallow (git fetch --unshallow) - C:\projects\julia\bin\julia -e "versioninfo(); Pkg.clone(pwd(), \"Plots\"); Pkg.build(\"Plots\")" + - C:\projects\julia\bin\julia -e "include(Pkg.dir(\"Plots\", \"test\", \"travis_commands.jl\"))" test_script: - # - C:\projects\julia\bin\julia -e "Pkg.test(\"Plots\")" - - C:\projects\julia\bin\julia -e "include(Pkg.dir(\"Plots\", \"test\", \"travis_commands.jl\"))" + - C:\projects\julia\bin\julia -e "Pkg.test(\"Plots\")" diff --git a/test/travis_commands.jl b/test/travis_commands.jl index 4befaaef..de212b5b 100644 --- a/test/travis_commands.jl +++ b/test/travis_commands.jl @@ -28,4 +28,4 @@ Pkg.build("PyPlot") # Pkg.add("InspectDR") -Pkg.test("Plots"; coverage=false) +# Pkg.test("Plots"; coverage=false)