Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia 1.x era and version 1.0 release #32

Merged
merged 3 commits into from
Feb 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ os:
- linux
- osx
julia:
- 0.6
- 0.7
- 1.0
- nightly
notifications:
Expand All @@ -18,6 +16,6 @@ matrix:
- julia: nightly
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir("PeriodicTable")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
- julia -e 'using Pkg; cd(joinpath(dirname(pathof(PeriodicTable)), "..")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'cd(Pkg.dir("PeriodicTable")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
- julia -e 'using Pkg; cd(joinpath(dirname(pathof(PeriodicTable)), "..")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
12 changes: 12 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name = "PeriodicTable"
uuid = "7b2266bf-644c-5ea3-82d8-af4bbd25a884"
version = "1.0.0"

[deps]
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"

[compat]
julia = "1"
Unitful = "1.0"
3 changes: 0 additions & 3 deletions REQUIRE

This file was deleted.

1 change: 0 additions & 1 deletion src/PeriodicTable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ e.g. `elements[:O]`.
module PeriodicTable
export Element, elements

using Compat: replace
import Unitful: u, g, cm, K, J, mol, Quantity

"""
Expand Down
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using PeriodicTable, Compat, Unitful
using PeriodicTable, Unitful
import Unitful: u, g, cm, K, J, mol
using Compat.Test
using Compat.Base64
using Test
using Base64

@test eltype(elements) == Element
@test length(elements) == 119 == length(collect(elements))
Expand Down