Skip to content

Commit

Permalink
Require Julia 1
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Mar 9, 2019
1 parent 64d8b2c commit 783dbf1
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 24 deletions.
17 changes: 14 additions & 3 deletions .travis.yml
Expand Up @@ -4,8 +4,8 @@ os:
- linux
- osx
julia:
- 0.7
- 1.0
- 1.1
- nightly
git:
depth: 999999
Expand All @@ -16,6 +16,17 @@ script:
- julia -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("LombScargle"); Pkg.test("LombScargle"; coverage=true)'
- JULIA_NUM_THREADS=4 julia -e 'using Pkg; Pkg.test("LombScargle")'
- julia -e 'using Pkg; cd(Pkg.dir("LombScargle")); Pkg.add("PyCall"); Pkg.add("Conda"); using Conda; Conda.add("astropy"); include(joinpath("test", "astropy.jl"))'

after_success:
- julia -e 'using Pkg; cd(Pkg.dir("LombScargle")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())'
- julia -e 'using Pkg; cd(Pkg.dir("LombScargle")); Pkg.add("Documenter"); include(joinpath("docs", "make.jl"))'
- julia -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())'

jobs:
include:
- stage: "Documentation"
julia: 1.0
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.instantiate();
Pkg.develop(PackageSpec(path=pwd()))'
- julia --project=docs/ docs/make.jl
after_success: skip
29 changes: 10 additions & 19 deletions README.md
@@ -1,9 +1,9 @@
# LombScargle.jl

| **Documentation** | [**Package Evaluator**][pkgeval-link] | **Build Status** | **Code Coverage** |
|:---------------------------------------:|:-------------------------------------:|:-----------------------------------------:|:-------------------------------:|
| [![][docs-stable-img]][docs-stable-url] | [![][pkg-0.5-img]][pkg-0.5-url] | [![Build Status][travis-img]][travis-url] | [![][coveral-img]][coveral-url] |
| [![][docs-latest-img]][docs-latest-url] | [![][pkg-0.6-img]][pkg-0.6-url] | [![Build Status][appvey-img]][appvey-url] | [![][codecov-img]][codecov-url] |
| **Documentation** | **Build Status** | **Code Coverage** |
|:---------------------------------------:|:-----------------------------------------:|:-------------------------------:|
| [![][docs-stable-img]][docs-stable-url] | [![Build Status][travis-img]][travis-url] | [![][coveral-img]][coveral-url] |
| [![][docs-latest-img]][docs-latest-url] | [![Build Status][appvey-img]][appvey-url] | [![][codecov-img]][codecov-url] |

Introduction
------------
Expand Down Expand Up @@ -68,18 +68,16 @@ here, also with some plots.
Installation
------------

`LombScargle.jl` is available for Julia 0.7 and later versions, and can be
installed with
[Julia built-in package manager](http://docs.julialang.org/en/stable/manual/packages/).
In a Julia session run the commands
The latest version of `LombScargle.jl` is available for Julia 1.0 and later
versions, and can be installed with [Julia built-in package
manager](https://julialang.github.io/Pkg.jl/stable/). In a Julia
session, aftering the package manager mode with `]`, run the command

```julia
julia> using Pkg
julia> Pkg.update()
julia> Pkg.add("LombScargle")
pkg> add LombScargle
```

Older versions are also available for Julia 0.4-0.6.
Older versions are also available for Julia 0.4-0.7.

Usage
-----
Expand Down Expand Up @@ -240,13 +238,6 @@ Astropy Team.
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
[docs-stable-url]: https://juliaastro.github.io/LombScargle.jl/stable/

[pkgeval-link]: http://pkg.julialang.org/?pkg=LombScargle

[pkg-0.5-img]: http://pkg.julialang.org/badges/LombScargle_0.5.svg
[pkg-0.5-url]: http://pkg.julialang.org/detail/LombScargle.html
[pkg-0.6-img]: http://pkg.julialang.org/badges/LombScargle_0.6.svg
[pkg-0.6-url]: http://pkg.julialang.org/detail/LombScargle.html

[travis-img]: https://travis-ci.org/JuliaAstro/LombScargle.jl.svg?branch=master
[travis-url]: https://travis-ci.org/JuliaAstro/LombScargle.jl

Expand Down
2 changes: 1 addition & 1 deletion REQUIRE
@@ -1,4 +1,4 @@
julia 0.7
julia 1.0
FFTW 0.2.3
Measurements 1.0.0
SpecialFunctions 0.5.0
2 changes: 1 addition & 1 deletion appveyor.yml
@@ -1,7 +1,7 @@
environment:
matrix:
- julia_version: 0.7
- julia_version: 1
- julia_version: 1.1
- julia_version: nightly

platform:
Expand Down
6 changes: 6 additions & 0 deletions docs/Project.toml
@@ -0,0 +1,6 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
LombScargle = "fc60dff9-86e7-5f2f-a8a0-edeadbb75bd9"

[compat]
Documenter = "~0.20"

0 comments on commit 783dbf1

Please sign in to comment.