diff --git a/.travis.yml b/.travis.yml index 0142d58..014e4eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,13 +6,17 @@ os: julia: - 0.7 - 1.0 + - 1.1 - nightly +notifications: + email: false + matrix: allow_failures: - - julia: nightly -notifications: - email: false + - julia: nightly + +## uncomment the following lines to override the default test script after_success: - # push coverage results to Coveralls - - julia -e 'using Pkg; Pkg.add("WignerSymbols"); using Coverage; Codecov.submit(Codecov.process_folder()); Coveralls.submit(Coveralls.process_folder());' + # push coverage results to Codecov and Coveralls + - julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder()); Coveralls.submit(Coveralls.process_folder())' diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..d2c4499 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,43 @@ +environment: + matrix: + - julia_version: 0.7 + - julia_version: 1 + - julia_version: nightly + +platform: + - x86 # 32-bit + - x64 # 64-bit + +# # Uncomment the following lines to allow failures on nightly julia +# # (tests will run but not make your overall status red) +matrix: + allow_failures: + - julia_version: nightly + +branches: + only: + - master + - /release-.*/ + +notifications: + - provider: Email + on_build_success: false + on_build_failure: false + on_build_status_changed: false + +install: + - ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1")) + +build_script: + - echo "%JL_BUILD_SCRIPT%" + - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%" + +test_script: + - echo "%JL_TEST_SCRIPT%" + - C:\julia\bin\julia -e "%JL_TEST_SCRIPT%" + +# # Uncomment to support code coverage upload. Should only be enabled for packages +# # which would have coverage gaps without running on Windows +# on_success: +# - echo "%JL_CODECOV_SCRIPT%" +# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"