Skip to content

Commit 5dcb291

Browse files
committed
Run hlint and weeder on OS X
1 parent 9d5bf07 commit 5dcb291

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ matrix:
77
fast_finish: true
88
include:
99
- os: linux
10-
env:
11-
- STACK_PKG_URL=https://www.stackage.org/stack/linux-x86_64
12-
- HLINT=Y
13-
- WEEDER=Y
10+
env: STACK_PKG_URL=https://www.stackage.org/stack/linux-x86_64
1411
- os: osx
1512
env: STACK_PKG_URL=https://www.stackage.org/stack/osx-x86_64
1613

@@ -24,9 +21,9 @@ before_install:
2421
# Here starts the actual work to be performed for the package under test;
2522
# any command which exits with a non-zero exit code causes the build to fail.
2623
script:
27-
- if [[ $HLINT ]]; then source .ci-scripts/travis/run-hlint.sh; fi
24+
- source .ci-scripts/travis/run-hlint.sh
2825
- travis_wait 45 stack --no-terminal --skip-ghc-check test --haddock --no-haddock-deps
29-
- if [[ $WEEDER ]]; then source .ci-scripts/travis/run-weeder.sh; fi
26+
- source .ci-scripts/travis/run-weeder.sh
3027

3128
# Build the integration examples
3229
- travis_wait 45 stack --no-terminal --skip-ghc-check build

0 commit comments

Comments
 (0)