Skip to content

Commit

Permalink
Merge 35a36d8 into 04a4f5c
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed Jun 28, 2018
2 parents 04a4f5c + 35a36d8 commit 5b27f88
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 14 deletions.
27 changes: 16 additions & 11 deletions .travis.yml
Expand Up @@ -5,6 +5,7 @@ os:
- osx
julia:
- 0.6
- 0.7
- nightly
notifications:
email: false
Expand All @@ -17,17 +18,21 @@ git:
# 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("Nullables"); Pkg.test("Nullables"; coverage=true)'
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- |
julia -e '
if VERSION >= v"0.7.0-DEV.3656"
using Pkg
end
if VERSION >= v"0.7.0-DEV.5183"
Pkg.develop(pwd())
else
Pkg.clone(pwd(), "Nullables")
end
Pkg.build("Nullables")
Pkg.test("Nullables", coverage=true)
'
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir("Nullables")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
Expand Down
9 changes: 9 additions & 0 deletions Project.toml
@@ -0,0 +1,9 @@
name = "Nullables"
uuid = "4d1e1d77-625e-5b40-9113-a560ec7a8ecd"
version = "0.0.6"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"

[compat]
Compat = "0.41.0"
17 changes: 14 additions & 3 deletions appveyor.yml
Expand Up @@ -2,6 +2,8 @@ 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://julialang-s3.julialang.org/bin/winnt/x86/0.7/julia-0.7-latest-win32.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.7/julia-0.7-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"

Expand Down Expand Up @@ -40,8 +42,17 @@ install:
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(), \"Nullables\"); Pkg.build(\"Nullables\")"
- C:\projects\julia\bin\julia -e "
VERSION >= v\"0.7.0-DEV.3630\" && using InteractiveUtils; versioninfo();
VERSION >= v\"0.7.0-DEV.3656\" && using Pkg;
if VERSION >= v\"0.7.0-DEV.5183\"
Pkg.develop(pwd());
else
Pkg.clone(pwd(), \"Mocking\");
end;
Pkg.build(\"Mocking\")"

test_script:
- C:\projects\julia\bin\julia -e "Pkg.test(\"Nullables\")"
- C:\projects\julia\bin\julia -e "
VERSION >= v\"0.7.0-DEV.3656\" && using Pkg;
Pkg.test(\"Nullables\")"

0 comments on commit 5b27f88

Please sign in to comment.