Skip to content

Commit 7a2da58

Browse files
committed
Initial commit
0 parents  commit 7a2da58

11 files changed

+174
-0
lines changed

.appveyor.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
environment:
2+
matrix:
3+
- julia_version: 1.0
4+
- julia_version: 1.1
5+
- julia_version: 1.2
6+
- julia_version: nightly
7+
8+
platform:
9+
- x86 # 32-bit
10+
- x64 # 64-bit
11+
12+
# # Uncomment the following lines to allow failures on nightly julia
13+
# # (tests will run but not make your overall status red)
14+
# matrix:
15+
# allow_failures:
16+
# - julia_version: nightly
17+
18+
branches:
19+
only:
20+
- master
21+
- /release-.*/
22+
23+
notifications:
24+
- provider: Email
25+
on_build_success: false
26+
on_build_failure: false
27+
on_build_status_changed: false
28+
29+
install:
30+
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
31+
32+
build_script:
33+
- echo "%JL_BUILD_SCRIPT%"
34+
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
35+
36+
test_script:
37+
- echo "%JL_TEST_SCRIPT%"
38+
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
39+
40+
# # Uncomment to support code coverage upload. Should only be enabled for packages
41+
# # which would have coverage gaps without running on Windows
42+
# on_success:
43+
# - echo "%JL_CODECOV_SCRIPT%"
44+
# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"

.codecov.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
comment: false

.travis.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
language: julia
2+
3+
os:
4+
- osx
5+
- linux
6+
7+
julia:
8+
- 1.0
9+
- 1.1
10+
- 1.2
11+
- nightly
12+
13+
# # Uncomment the following lines to allow failures on nightly julia
14+
# # (tests will run but not make your overall status red)
15+
# matrix:
16+
# allow_failures:
17+
# - julia: nightly
18+
19+
notifications:
20+
email: false
21+
22+
#script: # the default script is equivalent to the following
23+
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
24+
# - julia --project -e 'using Pkg; Pkg.build(); Pkg.test(; coverage=true)';
25+
26+
after_success:
27+
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())';
28+
# - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())';
29+
30+
jobs:
31+
include:
32+
- stage: "Documentation"
33+
julia: 1.0
34+
os: linux
35+
script:
36+
- julia --project=docs/ -e 'using Pkg; Pkg.instantiate();
37+
Pkg.develop(PackageSpec(path=pwd()))'
38+
- julia --project=docs/ docs/make.jl
39+
after_success: skip

LICENSE.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The PrivateExample.jl package is licensed under the MIT "Expat" License:
2+
3+
> Copyright (c) 2013-2014: Stefan Karpinski, Iain Dunning, _et al._
4+
>
5+
> Permission is hereby granted, free of charge, to any person obtaining
6+
> a copy of this software and associated documentation files (the
7+
> "Software"), to deal in the Software without restriction, including
8+
> without limitation the rights to use, copy, modify, merge, publish,
9+
> distribute, sublicense, and/or sell copies of the Software, and to
10+
> permit persons to whom the Software is furnished to do so, subject to
11+
> the following conditions:
12+
>
13+
> The above copyright notice and this permission notice shall be
14+
> included in all copies or substantial portions of the Software.
15+
>
16+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
> IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20+
> CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21+
> TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22+
> SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project.toml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name = "IngestTest"
2+
uuid = "3729a6e1-a122-4e3b-b8b1-5d8ad9ac4808"
3+
version = "0.1.1"
4+
5+
[compat]
6+
julia = "1.3-1"
7+
8+
[extras]
9+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
10+
11+
[targets]
12+
test = ["Test"]

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Example Julia package repo.
2+
3+
[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://JuliaLang.github.io/Example.jl/stable)
4+
[![](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaLang.github.io/Example.jl/dev)
5+
6+
Linux and macOS: [![Build Status](https://travis-ci.org/JuliaLang/Example.jl.svg?branch=master)](https://travis-ci.org/JuliaLang/Example.jl)
7+
8+
Windows: [![Build Status](https://ci.appveyor.com/api/projects/status/github/JuliaLang/Example.jl?branch=master&svg=true)](https://ci.appveyor.com/project/tkelman/example-jl/branch/master)
9+
10+
[![Coverage Status](https://coveralls.io/repos/JuliaLang/Example.jl/badge.svg?branch=master)](https://coveralls.io/r/JuliaLang/Example.jl?branch=master)
11+
[![codecov.io](http://codecov.io/github/JuliaLang/Example.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaLang/Example.jl?branch=master)
12+
13+
[![deps](https://juliahub.com/docs/JLD2/deps.svg)](https://juliahub.com/ui/Packages/JLD2/O1EyT?t=2)
14+
15+
[![version](https://juliahub.com/docs/JLD2/version.svg)](https://juliahub.com/ui/Packages/JLD2/O1EyT)
16+
17+
[![version](https://juliahub.com/docs/SentinelArrays/version.svg)](https://juliahub.com/ui/Packages/SentinelArrays/uMYVe)

docs/Project.toml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[deps]
2+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
4+
[compat]
5+
Documenter = "0.23"

docs/make.jl

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
using Documenter, PrivateExample
2+
3+
makedocs(modules = [PrivateExample], sitename = "PrivateExample.jl")
4+
5+
deploydocs(repo = "github.com/vdayanand/PrivateExample.jl.git")

docs/src/index.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Example
2+
3+
Example Julia package repo.
4+
5+
```@autodocs
6+
Modules = [PrivateExample]
7+
```

src/PrivateExample.jl

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module PrivateExample
2+
export hello, domath
3+
4+
"""
5+
hello(who::String)
6+
7+
Return "Hello, `who`".
8+
"""
9+
hello(who::String) = "Hello, $who"
10+
11+
"""
12+
domath(x::Number)
13+
14+
Return `x + 5`.
15+
"""
16+
domath(x::Number) = x + 5
17+
18+
end

test/runtests.jl

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
using Test, PrivateExample
2+
3+
@test hello("Julia") == "Hello, Julia"
4+
@test domath(2.0) 7.0

0 commit comments

Comments
 (0)