diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 0000000000..69cb76019a --- /dev/null +++ b/.codecov.yml @@ -0,0 +1 @@ +comment: false diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..8c960ec808 --- /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 0000000000..1b8b2f6218 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +# Documentation: http://docs.travis-ci.com/user/languages/julia/ +language: julia +os: + - linux + - osx +julia: + - release + - nightly +notifications: + email: false +# 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("NeuralNetDiffEq"); Pkg.test("NeuralNetDiffEq"; coverage=true)' +after_success: + # push coverage results to Coveralls + - julia -e 'cd(Pkg.dir("NeuralNetDiffEq")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' + # push coverage results to Codecov + - julia -e 'cd(Pkg.dir("NeuralNetDiffEq")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000000..07f19ebba9 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,22 @@ +The NeuralNetDiffEq.jl package is licensed under the MIT "Expat" License: + +> Copyright (c) 2017: ChrisRackauckas. +> +> 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 0000000000..fd1dc1bb8f --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# NeuralNetDiffEq + +[![Build Status](https://travis-ci.org/ChrisRackauckas/NeuralNetDiffEq.jl.svg?branch=master)](https://travis-ci.org/ChrisRackauckas/NeuralNetDiffEq.jl) + +[![Coverage Status](https://coveralls.io/repos/ChrisRackauckas/NeuralNetDiffEq.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/ChrisRackauckas/NeuralNetDiffEq.jl?branch=master) + +[![codecov.io](http://codecov.io/github/ChrisRackauckas/NeuralNetDiffEq.jl/coverage.svg?branch=master)](http://codecov.io/github/ChrisRackauckas/NeuralNetDiffEq.jl?branch=master) diff --git a/REQUIRE b/REQUIRE new file mode 100644 index 0000000000..94237c0ffa --- /dev/null +++ b/REQUIRE @@ -0,0 +1 @@ +julia 0.5 diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000000..3a2b673cc9 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,34 @@ +environment: + matrix: + - JULIAVERSION: "julialang/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe" + - JULIAVERSION: "julialang/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe" + - JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe" + - JULIAVERSION: "julianightlies/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: +# Download most recent Julia Windows binary + - ps: (new-object net.webclient).DownloadFile( + $("http://s3.amazonaws.com/"+$env:JULIAVERSION), + "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(), \"NeuralNetDiffEq\"); Pkg.build(\"NeuralNetDiffEq\")" + +test_script: + - C:\projects\julia\bin\julia -e "Pkg.test(\"NeuralNetDiffEq\")" diff --git a/src/NeuralNetDiffEq.jl b/src/NeuralNetDiffEq.jl new file mode 100644 index 0000000000..c52e27b4a3 --- /dev/null +++ b/src/NeuralNetDiffEq.jl @@ -0,0 +1,5 @@ +module NeuralNetDiffEq + +# package code goes here + +end # module diff --git a/test/runtests.jl b/test/runtests.jl new file mode 100644 index 0000000000..97fa1b61a6 --- /dev/null +++ b/test/runtests.jl @@ -0,0 +1,5 @@ +using NeuralNetDiffEq +using Base.Test + +# write your own tests here +@test 1 == 2