From e8bcf6216c5d7f8d5df585f4ffa1d80b43374bff Mon Sep 17 00:00:00 2001 From: Smaug123 Date: Sun, 3 Jan 2016 20:04:35 +0000 Subject: [PATCH] ClassicalCiphers.jl generated files. license: BSD authors: Smaug123 years: 2016 user: Smaug123 Julia Version 0.4.1 [cbe1bee*] --- .gitignore | 3 +++ .travis.yml | 14 ++++++++++++++ LICENSE.md | 25 +++++++++++++++++++++++++ README.md | 3 +++ REQUIRE | 1 + appveyor.yml | 34 ++++++++++++++++++++++++++++++++++ src/ClassicalCiphers.jl | 5 +++++ test/runtests.jl | 5 +++++ 8 files changed, 90 insertions(+) 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/ClassicalCiphers.jl create mode 100644 test/runtests.jl 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..1d0dde0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +# 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("ClassicalCiphers"); Pkg.test("ClassicalCiphers"; coverage=true)' diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..32ed660 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,25 @@ +The ClassicalCiphers.jl package is licensed under the Simplified "2-clause" BSD License: + +> Copyright (c) 2016: Smaug123. +> +> Redistribution and use in source and binary forms, with or without +> modification, are permitted provided that the following conditions are +> met: +> +> 1. Redistributions of source code must retain the above copyright +> notice, this list of conditions and the following disclaimer. +> 2. Redistributions in binary form must reproduce the above copyright +> notice, this list of conditions and the following disclaimer in the +> documentation and/or other materials provided with the distribution. +> +> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +> "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +> LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +> A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +> OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +> SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +> LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +> DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +> THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +> (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +> OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..d8ae2d2 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ClassicalCiphers + +[![Build Status](https://travis-ci.org/Smaug123/ClassicalCiphers.jl.svg?branch=master)](https://travis-ci.org/Smaug123/ClassicalCiphers.jl) diff --git a/REQUIRE b/REQUIRE new file mode 100644 index 0000000..d5d6467 --- /dev/null +++ b/REQUIRE @@ -0,0 +1 @@ +julia 0.4 diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..c7aaeef --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,34 @@ +environment: + matrix: + - JULIAVERSION: "julialang/bin/winnt/x86/0.4/julia-0.4-latest-win32.exe" + - JULIAVERSION: "julialang/bin/winnt/x64/0.4/julia-0.4-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(), \"ClassicalCiphers\"); Pkg.build(\"ClassicalCiphers\")" + +test_script: + - C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"ClassicalCiphers\")" diff --git a/src/ClassicalCiphers.jl b/src/ClassicalCiphers.jl new file mode 100644 index 0000000..51ce695 --- /dev/null +++ b/src/ClassicalCiphers.jl @@ -0,0 +1,5 @@ +module ClassicalCiphers + +# package code goes here + +end # module diff --git a/test/runtests.jl b/test/runtests.jl new file mode 100644 index 0000000..b9d73e8 --- /dev/null +++ b/test/runtests.jl @@ -0,0 +1,5 @@ +using ClassicalCiphers +using Base.Test + +# write your own tests here +@test 1 == 1