aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-03-11 20:44:24 +0100
committercbdev <cb@cbcdn.com>2020-03-11 20:44:24 +0100
commit20803bd7d7578706ad55b56cf1a4d8865b5c1285 (patch)
tree24672f1f2b94569d43e9821010690b15b8a7b414 /.travis.yml
parentc15ac89a33b6f6f51ac0c3da7a86dc43c8a9321a (diff)
downloadmidimonster-20803bd7d7578706ad55b56cf1a4d8865b5c1285.tar.gz
midimonster-20803bd7d7578706ad55b56cf1a4d8865b5c1285.tar.bz2
midimonster-20803bd7d7578706ad55b56cf1a4d8865b5c1285.zip
Restructure CI spellchecking
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml46
1 files changed, 15 insertions, 31 deletions
diff --git a/.travis.yml b/.travis.yml
index b9b6969..48b4b71 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,8 +12,6 @@ script:
addons:
apt:
packages: &base_build
- # This is the absolute minimum for configure to pass
- # Non C++ based tasks use it so they can run make builtfiles
- ccache
packages: &core_build
# This is all the bits we need to enable all options
@@ -36,6 +34,11 @@ addons:
packages: &core_build_windows
- *core_build
- mingw-w64
+ packages: &linters
+ - lintian
+ - codespell
+ - shellcheck
+ - cloc
jobs:
fast_finish: true
@@ -74,30 +77,6 @@ jobs:
apt:
packages:
- *core_build_clang_latest
- - os: linux
- dist: bionic
- env: TASK='spellintian'
- addons:
- apt:
- packages:
- - *core_build
- - moreutils
- - os: linux
- dist: bionic
- env: TASK='spellintian-duplicates'
- addons:
- apt:
- packages:
- - *core_build
- - moreutils
- - os: linux
- dist: bionic
- env: TASK='codespell'
- addons:
- apt:
- packages:
- - *core_build
- - moreutils
- os: osx
osx_image: xcode10.2
compiler: clang
@@ -116,10 +95,18 @@ jobs:
allow_failures:
- os: linux
dist: bionic
- env: TASK='spellintian-duplicates'
+ env: TASK='codesmell'
+ addons:
+ apt:
+ packages:
+ - *linters
- os: linux
dist: bionic
- env: TASK='codespell'
+ env: TASK='spellcheck'
+ addons:
+ apt:
+ packages:
+ - *linters
env:
global:
@@ -136,9 +123,6 @@ cache:
before_cache:
- ccache -s # see how many hits ccache got
-install:
- - if [ "$TASK" = "codespell" ]; then pip install --user git+https://github.com/codespell-project/codespell.git; fi
-
before_install:
# Travis clones with --branch, which omits tags. Since we use them for the version string at build time, fetch them
- git pull --tags