adds Compat checkout to appveyor and travis configs

This commit is contained in:
Spencer Russell 2016-08-08 23:53:59 -04:00
parent 3f5f107c81
commit 09b1cd3e47
3 changed files with 5 additions and 3 deletions

View file

@ -13,4 +13,4 @@ notifications:
script:
# we can't actually run on travis, so just make sure it's installable
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd()); Pkg.build("PortAudio"); using PortAudio'
- julia -e 'Pkg.clone(pwd()); Pkg.build("PortAudio"); Pkg.checkout("Compat"); using PortAudio'

View file

@ -3,6 +3,8 @@ PortAudio.jl
PortAudio.jl is a wrapper for [libportaudio](http://www.portaudio.com/), which gives cross-platform access to audio devices. It is compatible with the types defined in [SampledSignals.jl](https://github.com/JuliaAudio/SampledSignals.jl). It provides a `PortAudioStream` type, which can be read from and written to.
#### NOTE: This package currently requires the master branch of the `Compat` package.
## Opening a stream
The easiest way to open a source or sink is with the default `PortAudioStream()` constructor, which will open a 0-in, 2-out stream to your system's default device(s). The constructor can also take the input and output channel counts as positional arguments, or a variety of other keyword arguments.

View file

@ -28,8 +28,8 @@ 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(), \"SampledSignals\"); Pkg.build(\"SampledSignals\")"
Pkg.clone(pwd(), \"PortAudio\"); Pkg.build(\"PortAudio\"); Pkg.checkout(\"Compat\")"
test_script:
# can't actually run the test, so just make sure it's installable
- C:\projects\julia\bin\julia -e "using SampledSignals"
- C:\projects\julia\bin\julia -e "using PortAudio"