Skip to content

Commit

Permalink
proper ci stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Datseris committed Jul 21, 2018
1 parent 5704565 commit 598cd95
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ julia:
notifications:
email:
on_success: never
on_failure: never
on_failure: always
8 changes: 0 additions & 8 deletions Project.toml

This file was deleted.

2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
julia 0.7.0
julia 0.7.0-beta2
Combinatorics 0.6.0
14 changes: 11 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ notifications:

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,
Expand All @@ -29,8 +34,11 @@ install:
- C:\projects\julia-binary.exe /S /D=C:\projects\julia

build_script:
- C:\projects\julia\bin\julia -e "versioninfo();
using Pkg; Pkg.build()"
# 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 "using InteractiveUtils; versioninfo();
Pkg.clone(pwd(), \"MotifSequenceGenerator\");
Pkg.build(\"MotifSequenceGenerator\")"

test_script:
- C:\projects\julia\bin\julia -e "using Pkg; Pkg.test()"
- C:\projects\julia\bin\julia -e "Pkg.test(\"MotifSequenceGenerator\")"

0 comments on commit 598cd95

Please sign in to comment.