Skip to content

Commit

Permalink
Merge pull request #38 from JuliaIO/sjk/up1
Browse files Browse the repository at this point in the history
some updates for 1.3+
  • Loading branch information
sjkelly authored Feb 25, 2020
2 parents 3cf404b + 81e1ac2 commit 8e47857
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 60 deletions.
43 changes: 0 additions & 43 deletions .appveyor.yml

This file was deleted.

19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@ language: julia
os:
- linux
- osx
- windows
julia:
- 0.7
- 1.0
- nightly
notifications:
email: false
sudo: false
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'using Pkg; Pkg.clone(pwd())'
- julia -e 'using Pkg; ENV["PYTHON"]="";Pkg.build("SerialPorts");'
- julia -e 'using Pkg; Pkg.test("SerialPorts", coverage=true)'
after_success:
- julia -e 'using Pkg; cd(Pkg.dir("SerialPorts")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# env:
# - PYTHON=""
# script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia -e 'using Pkg; Pkg.clone(pwd())'
# - julia -e 'using Pkg; ENV["PYTHON"]="";Pkg.build("SerialPorts");'
# - julia -e 'using Pkg; Pkg.test("SerialPorts", coverage=true)'
# after_success:
# - julia -e 'using Pkg; cd(Pkg.dir("SerialPorts")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
15 changes: 15 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name = "SerialPorts"
uuid = "5d0f9de7-4c7f-54f5-bec2-484e8c04014e"

[deps]
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"

[compat]
PyCall = "≥ 1.90.0"
julia = "≥ 0.7.0"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,15 @@

[![Build Status](https://travis-ci.org/JuliaIO/SerialPorts.jl.svg?branch=master)](https://travis-ci.org/JuliaIO/SerialPorts.jl)

[![Build status](https://ci.appveyor.com/api/projects/status/8ugea0ou2ray29xk/branch/master?svg=true)](https://ci.appveyor.com/project/sjkelly/serialports-jl/branch/master)

SerialPorts.jl lets you work with devices over serial communication with Julia.
It is designed to mimic regular file IO as in the Base Julia library.

This package requires PySerial, which is used through PyCall. Conda is used as
a fallback so cross-platform installation is simple. Overtime, one of
the long term objectives should be to rewrite this in Julia for better portability,
installation, and performance.
a fallback so cross-platform installation is simple.

## Documentation
## Quick Start

A `SerialPort` can be treated like any other IO stream in Julia.
A `SerialPort` has a minimal API similar to `IOStream` in Julia.

A brief example:

Expand Down
2 changes: 0 additions & 2 deletions REQUIRE

This file was deleted.

0 comments on commit 8e47857

Please sign in to comment.