From efd7725034aaf74aa2c2f2b7a4ae34a89b90387f Mon Sep 17 00:00:00 2001 From: Chris de Graaf Date: Thu, 10 Aug 2017 12:13:01 -0500 Subject: [PATCH] PkgTemplates generated files --- .appveyor.yml | 37 +++++++++++++++++++++++++++++++++++++ .codecov.yml | 1 + .gitignore | 8 ++++++++ .travis.yml | 19 +++++++++++++++++++ LICENSE.md | 19 +++++++++++++++++++ README.md | 6 ++++++ REQUIRE | 1 + docs/make.jl | 21 +++++++++++++++++++++ docs/src/index.md | 6 ++++++ src/PkgTemplates.jl | 5 +++++ test/runtests.jl | 5 +++++ 11 files changed, 128 insertions(+) create mode 100644 .appveyor.yml create mode 100644 .codecov.yml create mode 100644 .gitignore create mode 100644 .travis.yml create mode 100644 LICENSE.md create mode 100644 README.md create mode 100644 REQUIRE create mode 100644 docs/make.jl create mode 100644 docs/src/index.md create mode 100644 src/PkgTemplates.jl create mode 100644 test/runtests.jl diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..e51f6c0 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,37 @@ +environment: + matrix: + - JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe" + - JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe" + - JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe" + - JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe" + +branches: + only: + - master + - /release-.*/ + +notifications: + - provider: Email + on_build_success: false + on_build_failure: false + on_build_status_changed: false + +install: + - ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12" +# Download most recent Julia Windows binary + - ps: (new-object net.webclient).DownloadFile( + $env:JULIA_URL, + "C:\projects\julia-binary.exe") +# Run installer silently, output to C:\projects\julia + - C:\projects\julia-binary.exe /S /D=C:\projects\julia + +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(), \"PkgTemplates\"); Pkg.build(\"PkgTemplates\")" + +test_script: + - C:\projects\julia\bin\julia -e "Pkg.test(\"PkgTemplates\")" +after_script: + - C:\projects\julia\bin\julia -e "cd(Pkg.dir(\"AppVeyorTesting\")); Pkg.add(\"Coverage\"); using Coverage; Codecov.submit(process_folder())" diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000..69cb760 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1 @@ +comment: false diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3468d17 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +.DS_Store +# CodeCov generated files +*.jl.cov +*.jl.*.cov +*.jl.mem +# Documenter generated files +/docs/build/ +/docs/site/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..92d4691 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +# Documentation: http://docs.travis-ci.com/user/languages/julia/ +language: julia +os: + - linux + - osx +julia: + - 0.6 + - nightly +notifications: + email: false +script: + - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi + - julia -e 'Pkg.clone(pwd()); Pkg.build("PkgTemplates"); Pkg.test("PkgTemplates"; coverage=true)' +after_success: + # push coverage results to CodeCov + - julia -e 'cd(Pkg.dir("PkgTemplates")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())' + # build documentation + - julia -e 'Pkg.add("Documenter")' + - julia -e 'cd(Pkg.dir("PkgTemplates")); include(joinpath("docs", "make.jl"))' diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..ba1d902 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,19 @@ +Copyright (c) 2017 Invenia Technical Computing Corporation + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..140e849 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# PkgTemplates +[![stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://christopher-dG.github.io/PkgTemplates.jl/stable) +[![latest](https://img.shields.io/badge/docs-latest-blue.svg)](https://christopher-dG.github.io/PkgTemplates.jl/latest) +[![Build Status](https://travis-ci.org/christopher-dG/PkgTemplates.jl.svg?branch=master)](https://travis-ci.org/christopher-dG/PkgTemplates.jl) +[![Build status](https://ci.appveyor.com/api/projects/status/github/christopher-dG/PkgTemplates.jl?svg=true)](https://ci.appveyor.com/project/christopher-dG/PkgTemplates-jl) +[![codecov](https://codecov.io/gh/christopher-dG/PkgTemplates.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/christopher-dG/PkgTemplates.jl) diff --git a/REQUIRE b/REQUIRE new file mode 100644 index 0000000..137767a --- /dev/null +++ b/REQUIRE @@ -0,0 +1 @@ +julia 0.6 diff --git a/docs/make.jl b/docs/make.jl new file mode 100644 index 0000000..2a69e3e --- /dev/null +++ b/docs/make.jl @@ -0,0 +1,21 @@ +using Documenter, PkgTemplates + +makedocs( + modules=[PkgTemplates], + format=:html, + pages=[ + "Home" => "index.md", + ], + repo="https://github.com/christopher-dG/PkgTemplates.jl/blob/{commit}{path}#L{line}", + sitename="PkgTemplates.jl", + authors="Invenia Technical Computing Corporation", + assets=[], +) + +deploydocs( + repo="github.com/christopher-dG/PkgTemplates.jl.git", + target="build", + julia="0.6", + deps=nothing, + make=nothing, +) diff --git a/docs/src/index.md b/docs/src/index.md new file mode 100644 index 0000000..140e849 --- /dev/null +++ b/docs/src/index.md @@ -0,0 +1,6 @@ +# PkgTemplates +[![stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://christopher-dG.github.io/PkgTemplates.jl/stable) +[![latest](https://img.shields.io/badge/docs-latest-blue.svg)](https://christopher-dG.github.io/PkgTemplates.jl/latest) +[![Build Status](https://travis-ci.org/christopher-dG/PkgTemplates.jl.svg?branch=master)](https://travis-ci.org/christopher-dG/PkgTemplates.jl) +[![Build status](https://ci.appveyor.com/api/projects/status/github/christopher-dG/PkgTemplates.jl?svg=true)](https://ci.appveyor.com/project/christopher-dG/PkgTemplates-jl) +[![codecov](https://codecov.io/gh/christopher-dG/PkgTemplates.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/christopher-dG/PkgTemplates.jl) diff --git a/src/PkgTemplates.jl b/src/PkgTemplates.jl new file mode 100644 index 0000000..9c36ad1 --- /dev/null +++ b/src/PkgTemplates.jl @@ -0,0 +1,5 @@ +module PkgTemplates + +# Package code goes here. + +end diff --git a/test/runtests.jl b/test/runtests.jl new file mode 100644 index 0000000..7f192c2 --- /dev/null +++ b/test/runtests.jl @@ -0,0 +1,5 @@ +using PkgTemplates +using Base.Test + +# Write your own tests here. +@test 1 == 2