From 59d13a781086b0d18da3f7331c455640a63606e1 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Fri, 29 Apr 2016 13:41:28 -0400 Subject: [PATCH] travis; readme --- .travis.yml | 27 ++++++++++++++------------- README.md | 6 +++--- test/travis_commands.jl | 22 ++++++++++++++++++++++ 3 files changed, 39 insertions(+), 16 deletions(-) create mode 100644 test/travis_commands.jl diff --git a/.travis.yml b/.travis.yml index e8918b5a..75bdfac9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,16 +42,17 @@ notifications: email: true # uncomment the following lines to override the default test script script: - - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi - - julia -e 'Pkg.clone(pwd()); Pkg.build("Plots")' - - julia -e 'Pkg.clone("ImageMagick"); Pkg.build("ImageMagick")' - - julia -e 'Pkg.clone("GR"); Pkg.build("GR")' - # - julia -e 'Pkg.clone("https://github.com/tbreloff/ImageMagick.jl.git"); Pkg.checkout("ImageMagick","tb_write"); Pkg.build("ImageMagick")' - - julia -e 'Pkg.clone("https://github.com/tbreloff/ExamplePlots.jl.git");' - # - julia -e 'Pkg.clone("https://github.com/JunoLab/Blink.jl.git"); Pkg.build("Blink"); import Blink; Blink.AtomShell.install()' - # - julia -e 'Pkg.clone("https://github.com/spencerlyon2/PlotlyJS.jl.git")' - - julia -e 'ENV["PYTHON"] = ""; Pkg.add("PyPlot"); Pkg.build("PyPlot")' - - # - $TESTCMD -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())' + - julia test/travis_commands.jl + # - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi + # - julia -e 'Pkg.clone(pwd()); Pkg.build("Plots")' + # - julia -e 'Pkg.clone("ImageMagick"); Pkg.build("ImageMagick")' + # - julia -e 'Pkg.clone("GR"); Pkg.build("GR")' + # # - julia -e 'Pkg.clone("https://github.com/tbreloff/ImageMagick.jl.git"); Pkg.checkout("ImageMagick","tb_write"); Pkg.build("ImageMagick")' + # - julia -e 'Pkg.clone("https://github.com/tbreloff/ExamplePlots.jl.git");' + # # - julia -e 'Pkg.clone("https://github.com/JunoLab/Blink.jl.git"); Pkg.build("Blink"); import Blink; Blink.AtomShell.install()' + # # - julia -e 'Pkg.clone("https://github.com/spencerlyon2/PlotlyJS.jl.git")' + # - julia -e 'ENV["PYTHON"] = ""; Pkg.add("PyPlot"); Pkg.build("PyPlot")' + # + # # - $TESTCMD -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/README.md b/README.md index 29fd83d2..18cc18eb 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ Plots is a plotting API and toolset. My goals with the package are: - **Intuitive**. Start generating plots without reading volumes of documentation. Commands should "just work". - **Concise**. Less code means fewer mistakes and more efficient development/analysis. - **Flexible**. Produce your favorite plots from your favorite package, but quicker and simpler. -- **Consistent**. Don't commit to one graphics package. Use the same code and access the strengths of all backends. +- **Consistent**. Don't commit to one graphics package. Use the same code and access the strengths of all [backends](http://plots.readthedocs.io/en/latest/backends/). - **Lightweight**. Very few dependencies, since backends are loaded and initialized dynamically. -Use the preprocessing pipeline in Plots to fully describe your visualization before it calls the backend code. This maintains modularity and allows for efficient separation of front end code, algorithms, and backend graphics. New graphical backends can be added with minimal effort. +Use the [preprocessing pipeline](http://plots.readthedocs.io/en/latest/pipeline/) in Plots to fully describe your visualization before it calls the backend code. This maintains modularity and allows for efficient separation of front end code, algorithms, and backend graphics. New graphical backends can be added with minimal effort. ```julia using Plots @@ -32,4 +32,4 @@ end ![waves](http://plots.readthedocs.io/en/latest/examples/img/waves.gif) -View the [full documentation](http://plots.readthedocs.org). +View the [full documentation](http://plots.readthedocs.io). diff --git a/test/travis_commands.jl b/test/travis_commands.jl new file mode 100644 index 00000000..950c2641 --- /dev/null +++ b/test/travis_commands.jl @@ -0,0 +1,22 @@ +Pkg.clone(pwd()) +Pkg.build("Plots") + +Pkg.clone("ImageMagick") +Pkg.build("ImageMagick") + +Pkg.clone("GR") +Pkg.build("GR") + +Pkg.clone("https://github.com/tbreloff/ExamplePlots.jl.git"); + +# Pkg.clone("https://github.com/JunoLab/Blink.jl.git") +# Pkg.build("Blink") +# import Blink +# Blink.AtomShell.install() +# Pkg.clone("https://github.com/spencerlyon2/PlotlyJS.jl.git") + +ENV["PYTHON"] = "" +Pkg.add("PyPlot") +Pkg.build("PyPlot") + +Pkg.test("Plots"; coverage=false)