6 changed files with 63 additions and 114 deletions
@ -1,36 +0,0 @@ |
|||||||
environment: |
|
||||||
matrix: |
|
||||||
- julia_version: 1.5 |
|
||||||
# - julia_version: latest |
|
||||||
|
|
||||||
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: |
|
||||||
- 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%" |
|
||||||
@ -0,0 +1,53 @@ |
|||||||
|
name: CI |
||||||
|
|
||||||
|
on: |
||||||
|
push: |
||||||
|
branches: |
||||||
|
- 'master' |
||||||
|
- 'release-' |
||||||
|
tags: '*' |
||||||
|
pull_request: |
||||||
|
|
||||||
|
jobs: |
||||||
|
test: |
||||||
|
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }} |
||||||
|
runs-on: ${{ matrix.os }} |
||||||
|
strategy: |
||||||
|
matrix: |
||||||
|
version: |
||||||
|
- '1.0' |
||||||
|
- '1' |
||||||
|
- 'nightly' |
||||||
|
os: |
||||||
|
- ubuntu-latest |
||||||
|
include: |
||||||
|
- os: windows-latest |
||||||
|
version: '1' |
||||||
|
- os: macOS-latest |
||||||
|
version: '1' |
||||||
|
steps: |
||||||
|
- uses: actions/checkout@v2 |
||||||
|
- uses: julia-actions/setup-julia@v1 |
||||||
|
with: |
||||||
|
version: ${{ matrix.version }} |
||||||
|
- uses: julia-actions/julia-buildpkg@v1 |
||||||
|
- uses: julia-actions/julia-runtest@v1 |
||||||
|
- uses: julia-actions/julia-processcoverage@v1 |
||||||
|
- uses: codecov/codecov-action@v1 |
||||||
|
with: |
||||||
|
file: lcov.info |
||||||
|
docs: |
||||||
|
name: Documentation |
||||||
|
runs-on: ubuntu-latest |
||||||
|
steps: |
||||||
|
- uses: actions/checkout@v2 |
||||||
|
- uses: julia-actions/setup-julia@v1 |
||||||
|
with: |
||||||
|
version: '1' |
||||||
|
- name: Install dependencies |
||||||
|
run: julia --project=docs -e 'using Pkg; Pkg.instantiate()' |
||||||
|
- name: Build and deploy |
||||||
|
env: |
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
||||||
|
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |
||||||
|
run: julia --project=docs --color=yes docs/make.jl |
||||||
@ -1,30 +0,0 @@ |
|||||||
name: Documentation |
|
||||||
|
|
||||||
on: |
|
||||||
push: |
|
||||||
branches: |
|
||||||
- 'master' |
|
||||||
- 'release-' |
|
||||||
tags: '*' |
|
||||||
pull_request: |
|
||||||
|
|
||||||
jobs: |
|
||||||
build: |
|
||||||
runs-on: ${{ matrix.os }} |
|
||||||
strategy: |
|
||||||
matrix: |
|
||||||
julia-version: [1.5] |
|
||||||
julia-arch: [x86] |
|
||||||
os: [ubuntu-latest] |
|
||||||
steps: |
|
||||||
- uses: actions/checkout@v1.0.0 |
|
||||||
- uses: julia-actions/setup-julia@latest |
|
||||||
with: |
|
||||||
version: ${{ matrix.julia-version }} |
|
||||||
- name: Install dependencies |
|
||||||
run: julia --project=docs -e 'using Pkg; Pkg.instantiate()' |
|
||||||
- name: Build and deploy |
|
||||||
env: |
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
||||||
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |
|
||||||
run: julia --project=docs --color=yes docs/make.jl |
|
||||||
@ -1,31 +0,0 @@ |
|||||||
## Documentation: http://docs.travis-ci.com/user/languages/julia/ |
|
||||||
language: julia |
|
||||||
os: |
|
||||||
- linux |
|
||||||
- osx |
|
||||||
julia: |
|
||||||
- 1.0 |
|
||||||
- 1.5 |
|
||||||
- nightly |
|
||||||
branches: |
|
||||||
only: |
|
||||||
- master |
|
||||||
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/ |
|
||||||
after_success: |
|
||||||
- if [[ $TRAVIS_JULIA_VERSION = 1.5 ]] && [[ $TRAVIS_OS_NAME = linux ]]; then |
|
||||||
julia --project=test/coverage -e 'using Pkg; Pkg.instantiate(); |
|
||||||
using Coverage; Codecov.submit(Codecov.process_folder())'; |
|
||||||
fi |
|
||||||
# jobs: |
|
||||||
# include: |
|
||||||
# - stage: Documentation |
|
||||||
# julia: 1.5 |
|
||||||
# os: linux |
|
||||||
# script: |
|
||||||
# - julia --project=docs -e 'using Pkg; Pkg.instantiate()' |
|
||||||
# - julia --project=docs --color=yes docs/make.jl |
|
||||||
# after_success: skip |
|
||||||
notifications: |
|
||||||
email: false |
|
||||||
git: |
|
||||||
depth: 99999999 |
|
||||||
Loading…
Reference in new issue