Skip to content

Commit

Permalink
update CI files
Browse files Browse the repository at this point in the history
  • Loading branch information
jlapeyre committed Aug 2, 2018
1 parent 45a4fa9 commit a2456fc
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 16 deletions.
25 changes: 10 additions & 15 deletions .travis.yml
@@ -1,17 +1,12 @@
language: cpp
compiler:
- clang
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- 0.7
- nightly
notifications:
email: false
env:
matrix:
- JULIAVERSION="juliareleases"
- JULIAVERSION="julianightlies"
before_install:
- sudo add-apt-repository ppa:staticfloat/julia-deps -y
- sudo add-apt-repository ppa:staticfloat/${JULIAVERSION} -y
- sudo apt-get update -qq -y
- sudo apt-get install libpcre3-dev julia -y
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
script:
- julia --check-bounds=yes -e 'versioninfo(); Pkg.init(); Pkg.clone(pwd()); Pkg.build("DeepConvert"); Pkg.test("DeepConvert")'
after_success:
- julia -e 'Pkg.add("Coverage"); cd(Pkg.dir("DeepConvert")); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())'
15 changes: 14 additions & 1 deletion README.md
@@ -1,5 +1,15 @@
# DeepConvert

*convenient literal construction of values of large data types*

<!-- [![](https://img.shields.io/badge/docs-latest-blue.svg)](https://jlapeyre.github.io/DeepConvert.jl/latest) -->
Linux, OSX: [![Build Status](https://travis-ci.org/jlapeyre/DeepConvert.jl.svg?branch=master)](https://travis-ci.org/jlapeyre/DeepConvert.jl)
&nbsp;
Windows: [![Build Status](https://ci.appveyor.com/api/projects/status/github/jlapeyre/DeepConvert.jl?branch=master&svg=true)](https://ci.appveyor.com/project/jlapeyre/deepconvert-jl)
&nbsp; &nbsp; &nbsp;
[![Coverage Status](https://coveralls.io/repos/jlapeyre/DeepConvert.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/jlapeyre/DeepConvert.jl?branch=master)
[![codecov.io](http://codecov.io/github/jlapeyre/DeepConvert.jl/coverage.svg?branch=master)](http://codecov.io/github/jlapeyre/DeepConvert.jl?branch=master)

This package provides convenient literal construction of values of
large data types.

Expand All @@ -24,7 +34,7 @@ julia> BigInt[2^63, 2^64]
0

julia> using DeepConvert
julia> a = bi"[2^63, 2^64]"
julia> bi"[2^63, 2^64]"
2-element Array{BigInt, 1}:
9223372036854775808
18446744073709551616
Expand All @@ -36,6 +46,9 @@ julia> @bigint [2^63, 2^64]
```

```julia
julia> binomial(100, 50)
ERROR: OverflowError: binomial(100, 50) overflows

julia> @int128 binomial(100, 50)
100891344545564193334812497256
```
Expand Down
36 changes: 36 additions & 0 deletions appveyor.yml
@@ -0,0 +1,36 @@
environment:
matrix:
- julia_version: 0.7
- julia_version: latest

platform:
- x64 # 64-bit
# - x86 # 32-bit

## uncomment the following lines to allow failures on nightly julia
## (tests will run but not make your overall status red)
#matrix:
# allow_failures:
# - julia_version: latest

branches:
only:
- master
- /release-.*/

notifications:
- provider: Email
on_build_success: false
on_build_failure: false
on_build_status_changed: false

install:
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))

build_script:
- echo "%JL_BUILD_SCRIPT%"
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"

test_script:
- echo "%JL_TEST_SCRIPT%"
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"

0 comments on commit a2456fc

Please sign in to comment.