mirror of
https://github.com/tgorordo/WignerSymbols.jl.git
synced 2026-06-13 02:02:14 -07:00
more update travis
This commit is contained in:
parent
7f91c5acc0
commit
38524431e1
3 changed files with 7 additions and 73 deletions
|
|
@ -1 +0,0 @@
|
||||||
comment: false
|
|
||||||
30
.travis.yml
30
.travis.yml
|
|
@ -1,4 +1,4 @@
|
||||||
## Documentation: http://docs.travis-ci.com/user/languages/julia/
|
# Documentation: http://docs.travis-ci.com/user/languages/julia/
|
||||||
language: julia
|
language: julia
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
|
|
@ -6,30 +6,12 @@ os:
|
||||||
julia:
|
julia:
|
||||||
- 0.7
|
- 0.7
|
||||||
- nightly
|
- nightly
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
allow_failures:
|
||||||
|
- julia: nightly
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
git:
|
|
||||||
depth: 99999999
|
|
||||||
|
|
||||||
## 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
|
|
||||||
|
|
||||||
## uncomment and modify the following lines to manually install system packages
|
|
||||||
#addons:
|
|
||||||
# apt: # apt-get for linux
|
|
||||||
# packages:
|
|
||||||
# - gfortran
|
|
||||||
#before_script: # homebrew for mac
|
|
||||||
# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
|
|
||||||
|
|
||||||
## uncomment the following lines to override the default test script
|
|
||||||
#script:
|
|
||||||
# - julia -e 'Pkg.clone(pwd()); Pkg.build("WignerSymbols"); Pkg.test("WignerSymbols"; coverage=true)'
|
|
||||||
after_success:
|
after_success:
|
||||||
# push coverage results to Coveralls
|
- julia -e 'cd(Pkg.dir("WignerSymbols")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(process_folder())';
|
||||||
- julia -e 'cd(Pkg.dir("WignerSymbols")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
|
|
||||||
# push coverage results to Codecov
|
|
||||||
- julia -e 'cd(Pkg.dir("WignerSymbols")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
|
|
||||||
|
|
|
||||||
47
appveyor.yml
47
appveyor.yml
|
|
@ -1,47 +0,0 @@
|
||||||
environment:
|
|
||||||
matrix:
|
|
||||||
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe"
|
|
||||||
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe"
|
|
||||||
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
|
|
||||||
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
|
|
||||||
|
|
||||||
## uncomment the following lines to allow failures on nightly julia
|
|
||||||
## (tests will run but not make your overall status red)
|
|
||||||
#matrix:
|
|
||||||
# allow_failures:
|
|
||||||
# - JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
|
|
||||||
# - JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
|
|
||||||
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
- /release-.*/
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
- provider: Email
|
|
||||||
on_build_success: false
|
|
||||||
on_build_failure: false
|
|
||||||
on_build_status_changed: false
|
|
||||||
|
|
||||||
install:
|
|
||||||
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
|
|
||||||
# If there's a newer build queued for the same PR, cancel this one
|
|
||||||
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
|
|
||||||
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
|
|
||||||
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
|
|
||||||
throw "There are newer queued builds for this pull request, failing early." }
|
|
||||||
# Download most recent Julia Windows binary
|
|
||||||
- ps: (new-object net.webclient).DownloadFile(
|
|
||||||
$env:JULIA_URL,
|
|
||||||
"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(), \"WignerSymbols\"); Pkg.build(\"WignerSymbols\")"
|
|
||||||
|
|
||||||
test_script:
|
|
||||||
- C:\projects\julia\bin\julia -e "Pkg.test(\"WignerSymbols\")"
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue