Skip to content
This repository was archived by the owner on May 21, 2022. It is now read-only.

Commit 090592e

Browse files
committed
update build scripts
1 parent 8e0b8e9 commit 090592e

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ os:
44
- linux
55
- osx
66
julia:
7-
- 0.6
7+
- 0.7
88
- nightly
99
notifications:
1010
email: false
@@ -14,6 +14,6 @@ notifications:
1414
# - julia -e 'Pkg.clone(pwd()); Pkg.build("LearningStrategies"); Pkg.test("LearningStrategies"; coverage=true)'
1515
after_success:
1616
# push coverage results to Coveralls
17-
- julia -e 'cd(Pkg.dir("LearningStrategies")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
17+
- julia -e 'import Pkg; cd(Pkg.dir("LearningStrategies")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
1818
# push coverage results to Codecov
19-
- julia -e 'cd(Pkg.dir("LearningStrategies")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
19+
- julia -e 'import Pkg; cd(Pkg.dir("LearningStrategies")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'

appveyor.yml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
environment:
22
matrix:
3-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe"
4-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe"
5-
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
6-
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
3+
- julia_version: 0.7
4+
- julia_version: 1.0
5+
- julia_version: latest
6+
7+
platform:
8+
- x86 # 32-bit
9+
- x64 # 64-bit
10+
11+
## uncomment the following lines to allow failures on nightly julia
12+
## (tests will run but not make your overall status red)
13+
#matrix:
14+
# allow_failures:
15+
# - julia_version: latest
716

817
branches:
918
only:
@@ -17,19 +26,12 @@ notifications:
1726
on_build_status_changed: false
1827

1928
install:
20-
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
21-
# Download most recent Julia Windows binary
22-
- ps: (new-object net.webclient).DownloadFile(
23-
$env:JULIA_URL,
24-
"C:\projects\julia-binary.exe")
25-
# Run installer silently, output to C:\projects\julia
26-
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
29+
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
2730

2831
build_script:
29-
# Need to convert from shallow to complete for Pkg.clone to work
30-
- IF EXIST .git\shallow (git fetch --unshallow)
31-
- C:\projects\julia\bin\julia -e "versioninfo();
32-
Pkg.clone(pwd(), \"LearningStrategies\"); Pkg.build(\"LearningStrategies\")"
32+
- echo "%JL_BUILD_SCRIPT%"
33+
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
3334

3435
test_script:
35-
- C:\projects\julia\bin\julia -e "Pkg.test(\"LearningStrategies\")"
36+
- echo "%JL_TEST_SCRIPT%"
37+
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"

0 commit comments

Comments
 (0)