Skip to content

Commit ad34513

Browse files
committed
add Project.toml, update CI (long overdue)
1 parent f6d7d4a commit ad34513

File tree

4 files changed

+28
-26
lines changed

4 files changed

+28
-26
lines changed

.travis.yml

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,32 @@
1-
## Documentation: http://docs.travis-ci.com/user/languages/julia/
1+
# Documentation: http://docs.travis-ci.com/user/languages/julia/
22
language: julia
3+
34
os:
45
- linux
56
- osx
67
julia:
78
- 1.0
8-
- 1.1
9+
- 1.2
10+
- 1.3
911
- nightly
12+
1013
notifications:
1114
email: false
12-
git:
13-
depth: 99999999
1415

15-
## uncomment the following lines to allow failures on nightly julia
16-
## (tests will run but not make your overall status red)
1716
matrix:
1817
allow_failures:
1918
- julia: nightly
2019

21-
## uncomment and modify the following lines to manually install system packages
22-
#addons:
23-
# apt: # apt-get for linux
24-
# packages:
25-
# - gfortran
26-
#before_script: # homebrew for mac
27-
# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
28-
29-
## uncomment the following lines to override the default test script
30-
#script:
31-
# - julia -e 'Pkg.clone(pwd()); Pkg.build("TupleTools"); Pkg.test("TupleTools"; coverage=true)'
32-
after_success:
33-
# push coverage results to Codecov and Coveralls
34-
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder()); Coveralls.submit(Coveralls.process_folder())'
20+
codecov: true
21+
coveralls: true
3522

3623
jobs:
3724
include:
3825
- stage: "Documentation"
39-
julia: 1.0
26+
julia: 1.2
4027
os: linux
4128
script:
4229
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
43-
Pkg.instantiate()'
30+
Pkg.instantiate()'
4431
- julia --project=docs/ docs/make.jl
4532
after_success: skip

Project.toml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name = "TupleTools"
2+
uuid = "9d95972d-f1c8-5527-a6e0-b4b365fa01f6"
3+
authors = ["Jutho Haegeman"]
4+
version = "1.2.0"
5+
6+
[deps]
7+
8+
[compat]
9+
julia = "1"
10+
11+
[extras]
12+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
13+
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
14+
15+
[targets]
16+
test = ["Test", "Random"]

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
environment:
22
matrix:
3-
- julia_version: 1
4-
- julia_version: 1.1
3+
- julia_version: 1.0
4+
- julia_version: 1.2
5+
- julia_version: 1.3
56
- julia_version: nightly
67

78
platform:

src/TupleTools.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Type stable methods for small tuples
44
module TupleTools
55

66
using Base: tuple_type_head, tuple_type_tail, tuple_type_cons, tail, front, setindex
7-
# import Base: permute # TODO: this can disappear when Sparse moves out of Base
8-
import Base: cumsum, cumprod
97

108
"""
119
struct StaticLength{N} end

0 commit comments

Comments
 (0)