Skip to content

Commit

Permalink
Some CI improvements
Browse files Browse the repository at this point in the history
* Add CompatHelper
* Reduce frequency of TagBot to once per day
* Remove Cirrus script, it's not working properly lately
* Add FreeBSD to Travis
* Run Travis only on master and a few special-named branches
* Cache artifacts in Travis and AppVeyor
  • Loading branch information
giordano committed Apr 28, 2020
1 parent 60e5169 commit 7df13b9
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 19 deletions.
14 changes: 0 additions & 14 deletions .cirrus.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CompatHelper

on:
schedule:
- cron: '18 06 * * *'

jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
2 changes: 1 addition & 1 deletion .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: TagBot
on:
schedule:
- cron: 0 * * * *
- cron: 37 09 * * *
jobs:
TagBot:
runs-on: ubuntu-latest
Expand Down
26 changes: 22 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ julia:
- 1.3
- nightly
env:
matrix:
- JULIA_FFTW_PROVIDER=FFTW
- JULIA_FFTW_PROVIDER=MKL
- JULIA_NUM_THREADS=2
- JULIA_FFTW_PROVIDER=FFTW
- JULIA_FFTW_PROVIDER=MKL
- JULIA_NUM_THREADS=2
notifications:
email: false
# uncomment the following lines to override the default test script
Expand All @@ -21,8 +20,27 @@ notifications:
after_success:
- julia -e 'using Pkg; Pkg.add("Coverage"); Pkg.dir("FFTW"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

branches:
only:
- master
- gh-pages # For building documentation
- /^testing-.*$/ # testing branches
- /^v[0-9]+\.[0-9]+\.[0-9]+$/ # version tags

cache:
directories:
- $HOME/.julia/artifacts

jobs:
include:
- os: freebsd
julia: 1.3
env:
- JULIA_FFTW_PROVIDER=FFTW
- os: freebsd
julia: 1.3
env:
- JULIA_NUM_THREADS=2
- stage: "Documentation"
julia: 1.3
os: linux
Expand Down
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ environment:
- julia_version: 1.3
- julia_version: nightly

cache:
- '%USERPROFILE%\.julia\artifacts'

platform:
- x86 # 32-bit
- x64 # 64-bit
Expand Down

0 comments on commit 7df13b9

Please sign in to comment.