now travis and appveyor should at least test installability
This commit is contained in:
parent
e7cdbad4b3
commit
3f5f107c81
2 changed files with 39 additions and 7 deletions
11
.travis.yml
11
.travis.yml
|
@ -3,17 +3,14 @@ language: julia
|
|||
os:
|
||||
- linux
|
||||
- osx
|
||||
sudo: required
|
||||
# sudo: required
|
||||
julia:
|
||||
# - release
|
||||
- 0.4
|
||||
- nightly
|
||||
- 0.5
|
||||
notifications:
|
||||
email: false
|
||||
script:
|
||||
# SampledSignals is unregistered so clone it for testing
|
||||
- julia -e 'Pkg.clone("https://github.com/JuliaAudio/SampledSignals.jl.git")'
|
||||
# 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"); Pkg.test("PortAudio"; coverage=true)'
|
||||
after_success:
|
||||
- julia -e 'cd(Pkg.dir("PortAudio")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
|
||||
- julia -e 'Pkg.clone(pwd()); Pkg.build("PortAudio"); using PortAudio'
|
||||
|
|
35
appveyor.yml
Normal file
35
appveyor.yml
Normal file
|
@ -0,0 +1,35 @@
|
|||
environment:
|
||||
matrix:
|
||||
- JULIAVERSION: "julialang/bin/winnt/x86/0.4/julia-0.4-latest-win32.exe"
|
||||
- JULIAVERSION: "julialang/bin/winnt/x64/0.4/julia-0.4-latest-win64.exe"
|
||||
- JULIAVERSION: "julialang/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe"
|
||||
- JULIAVERSION: "julialang/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe"
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- /release-.*/
|
||||
|
||||
notifications:
|
||||
- provider: Email
|
||||
on_build_success: false
|
||||
on_build_failure: false
|
||||
on_build_status_changed: false
|
||||
|
||||
install:
|
||||
# Download most recent Julia Windows binary
|
||||
- ps: (new-object net.webclient).DownloadFile(
|
||||
$("http://s3.amazonaws.com/"+$env:JULIAVERSION),
|
||||
"C:\projects\julia-binary.exe")
|
||||
# Run installer silently, output to C:\projects\julia
|
||||
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
|
||||
|
||||
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\")"
|
||||
|
||||
test_script:
|
||||
# can't actually run the test, so just make sure it's installable
|
||||
- C:\projects\julia\bin\julia -e "using SampledSignals"
|
Loading…
Reference in a new issue