From 1fada863e63892c2960ecce4f9681f3186eda35d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20F=C3=A4lt?= Date: Mon, 14 Aug 2017 14:54:07 +0200 Subject: [PATCH] DynamicApproximations.jl generated files. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit license: MIT authors: Mattias Fält years: 2017 user: mfalt Julia Version 0.6.1-pre.0 [dcf39a1*] --- .codecov.yml | 1 + .gitignore | 3 +++ .travis.yml | 35 +++++++++++++++++++++++++++ LICENSE.md | 22 +++++++++++++++++ README.md | 7 ++++++ REQUIRE | 1 + appveyor.yml | 47 ++++++++++++++++++++++++++++++++++++ src/DynamicApproximations.jl | 5 ++++ test/runtests.jl | 5 ++++ 9 files changed, 126 insertions(+) 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 appveyor.yml create mode 100644 src/DynamicApproximations.jl create mode 100644 test/runtests.jl 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..8c960ec --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.jl.cov +*.jl.*.cov +*.jl.mem diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..33fc6d2 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,35 @@ +## Documentation: http://docs.travis-ci.com/user/languages/julia/ +language: julia +os: + - linux + - osx +julia: + - 0.6 + - nightly +notifications: + email: false +git: + depth: 99999999 + +## uncomment the following lines to allow failures on nightly julia +## (tests will run but not make your overall status red) +#matrix: +# allow_failures: +# - julia: nightly + +## uncomment and modify the following lines to manually install system packages +#addons: +# apt: # apt-get for linux +# packages: +# - gfortran +#before_script: # homebrew for mac +# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi + +## uncomment the following lines to override the default test script +#script: +# - julia -e 'Pkg.clone(pwd()); Pkg.build("DynamicApproximations"); Pkg.test("DynamicApproximations"; coverage=true)' +after_success: + # push coverage results to Coveralls + - julia -e 'cd(Pkg.dir("DynamicApproximations")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' + # push coverage results to Codecov + - julia -e 'cd(Pkg.dir("DynamicApproximations")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..474f976 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,22 @@ +The DynamicApproximations.jl package is licensed under the MIT "Expat" License: + +> Copyright (c) 2017: Mattias Fält. +> +> 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..20027ae --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# DynamicApproximations + +[![Build Status](https://travis-ci.org/mfalt/DynamicApproximations.jl.svg?branch=master)](https://travis-ci.org/mfalt/DynamicApproximations.jl) + +[![Coverage Status](https://coveralls.io/repos/mfalt/DynamicApproximations.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/mfalt/DynamicApproximations.jl?branch=master) + +[![codecov.io](http://codecov.io/github/mfalt/DynamicApproximations.jl/coverage.svg?branch=master)](http://codecov.io/github/mfalt/DynamicApproximations.jl?branch=master) 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/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..fea8e24 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,47 @@ +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" + +## uncomment the following lines to allow failures on nightly julia +## (tests will run but not make your overall status red) +#matrix: +# allow_failures: +# - 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" +# If there's a newer build queued for the same PR, cancel this one + - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` + https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | ` + Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` + throw "There are newer queued builds for this pull request, failing early." } +# 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(), \"DynamicApproximations\"); Pkg.build(\"DynamicApproximations\")" + +test_script: + - C:\projects\julia\bin\julia -e "Pkg.test(\"DynamicApproximations\")" diff --git a/src/DynamicApproximations.jl b/src/DynamicApproximations.jl new file mode 100644 index 0000000..3768339 --- /dev/null +++ b/src/DynamicApproximations.jl @@ -0,0 +1,5 @@ +module DynamicApproximations + +# package code goes here + +end # module diff --git a/test/runtests.jl b/test/runtests.jl new file mode 100644 index 0000000..760e6d8 --- /dev/null +++ b/test/runtests.jl @@ -0,0 +1,5 @@ +using DynamicApproximations +using Base.Test + +# write your own tests here +@test 1 == 2