Skip to content

Commit

Permalink
Move from REQUIRE to Project.toml (#280)
Browse files Browse the repository at this point in the history
* add project.toml and update travis and appveyor
  • Loading branch information
tknopp authored Apr 19, 2019
1 parent ec941c1 commit 3d781a7
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 34 deletions.
45 changes: 19 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,22 @@
## Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- 0.7
- 1.1
- nightly
notifications:
email: false
git:
depth: 99999999

## uncomment the following lines to allow failures on nightly julia
## (tests will run but not make your overall status red)
matrix:
include:
- language: julia
julia: 0.6
os: linux
- language: julia
julia: 0.7
os: linux
- language: julia
julia: 1.0
os: linux
- language: julia
julia: nightly
os: linux
allow_failures:
- julia: nightly

- language: julia
julia: 0.7
os: osx
- language: julia
julia: 1.0
os: osx
- language: julia
julia: 1.1
os: osx

notifications:
email: false
after_success:
- julia -e 'VERSION>=v"0.7-"&&using Pkg; cd(Pkg.dir("Cairo")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder()); Coveralls.submit(Coveralls.process_folder())'
19 changes: 19 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name = "Cairo"
uuid = "159f3aea-2a34-519c-b102-8c37f9878175"
version = "0.6.0"

[deps]
BinDeps = "9e28174c-4ba2-5203-b857-d8d62c4213ee"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
Graphics = "a2bd30eb-e257-5431-a919-1863eab51364"
Homebrew = "d9be37ee-ecc9-5288-90f1-b9ca67657a75"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
WinRPM = "c17dfb99-b4f7-5aad-8812-456da1ad7187"

[compat]
BinDeps = "≥ 0.3.21"
Compat = "≥ 0.52.0"
Graphics = "≥ 0.1.0"
julia = "≥ 0.7.0"
7 changes: 0 additions & 7 deletions REQUIRE

This file was deleted.

2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
environment:
matrix:
- julia_version: 0.6
- julia_version: 0.7
- julia_version: latest

Expand All @@ -13,6 +12,7 @@ platform:
matrix:
allow_failures:
- platform: x86
- julia_version: latest

branches:
only:
Expand Down

2 comments on commit 3d781a7

@tknopp
Copy link
Contributor Author

@tknopp tknopp commented on 3d781a7 Apr 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/148

After the above pull request is merged, it is recommended that you create
a tag on this repository for the registered package version:

git tag -a v0.6.0 -m "<description of version>" 3d781a79f0ce9d40fac85c7586cb733f2a4beb17
git push origin v0.6.0

Please sign in to comment.