-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Documentation: http://docs.travis-ci.com/user/languages/julia/ | ||
language: julia | ||
os: | ||
- linux | ||
- osx | ||
julia: | ||
- 0.7 | ||
- 1.0 | ||
- nightly | ||
matrix: | ||
allow_failures: | ||
- julia: nightly | ||
notifications: | ||
email: false | ||
# uncomment the following lines to override the default test script | ||
script: | ||
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi | ||
# - julia -e 'using Pkg; Pkg.clone(pwd()); Pkg.test("Why"; coverage=true)' | ||
- julia -e 'using Pkg; Pkg.test("Why"; coverage=true)' | ||
after_success: | ||
# push coverage results to Coveralls and Codecov | ||
- julia -e 'cd(Pkg.dir("Why")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(Codecov.process_folder())' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
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: latest | ||
|
||
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: | ||
- C:\julia\bin\julia -e "using InteractiveUtils; versioninfo(); | ||
using UUIDs; | ||
before = read(\"Project.toml\", String); | ||
after = replace(before, \"uuid = \\\"44cfe95a-1eb2-52ea-b672-e2afdf69b78f\\\"\" => | ||
\"uuid = \\\"4d836010-47a6-11e8-12b2-0918962bae33\\\"\"); | ||
write(\"Project.toml\", after); | ||
import Pkg; Pkg.build()" | ||
|
||
test_script: | ||
- echo "%JL_TEST_SCRIPT%" | ||
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%" |