Skip to content

Commit

Permalink
Add Project.toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottPJones committed May 28, 2018
1 parent f370bc2 commit b794856
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Expand Up @@ -13,9 +13,9 @@ git:

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

## uncomment and modify the following lines to manually install system packages
#addons:
Expand All @@ -27,7 +27,7 @@ matrix:

## uncomment the following lines to override the default test script
script:
- julia -e 'f = VERSION < v"0.7.0-DEV" ; f || (using Pkg) ; const clone = ifelse(f, Pkg.clone, Pkg.add) ; d="https://github.com/JuliaString" ; Pkg.add("PCRE2") ; for n in ("ModuleInterfaceTools", "StrAPI", "CharSetEncodings", "ChrBase", "MurmurHash3", "StrBase") ; clone("$d/$n.jl") ; end ; clone(pwd()); Pkg.test("StrRegex"; coverage=true)'
- julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg) ; if VERSION < v"0.7.0-DEV.5183" ; for n in ("ModuleInterfaceTools", "PCRE2", "StrAPI", "CharSetEncodings") ; Pkg.add(n) ; end ; for n in ("ChrBase", "MurmurHash3", "StrBase") ; Pkg.clone("https://github.com/JuliaString/$n.jl") ; end ; Pkg.clone(pwd()); else ; Pkg.add(pwd()) ; end ; Pkg.test("StrRegex"; coverage=true)'
after_success:
# push coverage results to Coveralls
- julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg); cd(Pkg.dir("StrRegex")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
Expand Down
7 changes: 7 additions & 0 deletions Project.toml
@@ -0,0 +1,7 @@
name = "StrRegex"
desc = "Regex support for validated ASCII, Latin1, UTF-8, UTF-16, UTF-32 and other encodings"
keywords = ["Strings", "Regex", "PCRE", "Unicode"]
authors = ["ScottPJones <scottjones@alum.mit.edu>"]
license = "MIT"
uuid = "128fb37e-e16c-4908-8083-6410b01968ef"
repo = "https://github.com/JuliaString/StrRegex.jl.git"
36 changes: 32 additions & 4 deletions README.md
@@ -1,9 +1,37 @@
# StrRegex

| **Package Status** | **Package Evaluator** | **Coverage** |
|:------------------:|:---------------------:|:-----------------:|
| [![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE.md) [![Build Status](https://travis-ci.org/JuliaString/StrRegex.jl.svg?branch=master)](https://travis-ci.org/JuliaString/StrRegex.jl) | [![StrRegex](http://pkg.julialang.org/badges/StrRegex_0.6.svg)](http://pkg.julialang.org/?pkg=StrRegex) [![StrRegex](http://pkg.julialang.org/badges/StrRegex_0.7.svg)](http://pkg.julialang.org/?pkg=StrRegex) | [![Coverage Status](https://coveralls.io/repos/github/JuliaString/StrRegex.jl/badge.svg?branch=master)](https://coveralls.io/github/JuliaString/StrRegex.jl?branch=master)
[![codecov.io](http://codecov.io/github/JuliaString/StrRegex.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaString/StrRegex.jl?branch=master) |
| **Info** | **Windows** | **Linux & MacOS** | **Package Evaluator** | **CodeCov** | **Coveralls** |
|:------------------:|:------------------:|:---------------------:|:-----------------:|:---------------------:|:-----------------:|
| [![][license-img]][license-url] | [![][app-s-img]][app-s-url] | [![][travis-s-img]][travis-url] | [![][pkg-s-img]][pkg-s-url] | [![][codecov-img]][codecov-url] | [![][coverall-s-img]][coverall-s-url]
| [![][gitter-img]][gitter-url] | [![][app-m-img]][app-m-url] | [![][travis-m-img]][travis-url] | [![][pkg-m-img]][pkg-m-url] | [![][codecov-img]][codecov-url] | [![][coverall-m-img]][coverall-m-url]

[license-img]: http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat
[license-url]: LICENSE.md

[gitter-img]: https://badges.gitter.im/Join%20Chat.svg
[gitter-url]: https://gitter.im/JuliaString/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge

[travis-url]: https://travis-ci.org/JuliaString/StrRegex.jl
[travis-s-img]: https://travis-ci.org/JuliaString/StrRegex.jl.svg
[travis-m-img]: https://travis-ci.org/JuliaString/StrRegex.jl.svg?branch=master

[app-s-url]: https://ci.appveyor.com/project/ScottPJones/strregex-jl
[app-m-url]: https://ci.appveyor.com/project/ScottPJones/strregex-jl/branch/master
[app-s-img]: https://ci.appveyor.com/api/projects/status/iyhlb4unq5ml4g0w?svg=true
[app-m-img]: https://ci.appveyor.com/api/projects/status/iyhlb4unq5ml4g0w/branch/master?svg=true

[pkg-s-url]: http://pkg.julialang.org/detail/StrRegex
[pkg-m-url]: http://pkg.julialang.org/detail/StrRegex
[pkg-s-img]: http://pkg.julialang.org/badges/StrRegex_0.6.svg
[pkg-m-img]: http://pkg.julialang.org/badges/StrRegex_0.7.svg

[codecov-url]: https://codecov.io/gh/JuliaString/StrRegex.jl
[codecov-img]: https://codecov.io/gh/JuliaString/StrRegex.jl/branch/master/graph/badge.svg

[coverall-s-url]: https://coveralls.io/github/JuliaString/StrRegex.jl
[coverall-m-url]: https://coveralls.io/github/JuliaString/StrRegex.jl?branch=master
[coverall-s-img]: https://coveralls.io/repos/github/JuliaString/StrRegex.jl/badge.svg
[coverall-m-img]: https://coveralls.io/repos/github/JuliaString/StrRegex.jl/badge.svg?branch=master

The `StrRegex` package adds Regex support to the `Strs` package, as well as fix some issues present in the base Regex support.

Expand Down
7 changes: 4 additions & 3 deletions appveyor.yml
Expand Up @@ -40,8 +40,9 @@ install:
build_script:
# Need to convert from shallow to complete for Pkg.clone to work
- IF EXIST .git\shallow (git fetch --unshallow)
- C:\projects\julia\bin\julia -e "versioninfo();
Pkg.clone(pwd(), \"StrRegex\"); Pkg.build(\"StrRegex\")"
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using Pkg, InteractiveUtils);
versioninfo(); pkg = \"StrRegex\";
if VERSION < v\"0.7.0-DEV.5183\"; Pkg.clone(pwd(), pkg); else; Pkg.add(pwd(), pkg); end"

test_script:
- C:\projects\julia\bin\julia -e "Pkg.test(\"StrRegex\")"
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using Pkg); Pkg.test(\"StrRegex\")"

0 comments on commit b794856

Please sign in to comment.