CI: .travis.yml: add explicit quotes

M  .travis.yml
This commit is contained in:
Anton-Latukha 2020-06-20 23:58:59 +03:00
parent 661afa5acb
commit 5419fc6444
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
1 changed files with 33 additions and 33 deletions

View File

@ -37,49 +37,49 @@ env:
# # NOTE: Switching into Nixpkgs revision # # NOTE: Switching into Nixpkgs revision
# - NIX_PATH="nixpkgs=https://github.com/nixos/nixpkgs/archive/$rev.tar.gz" # - NIX_PATH="nixpkgs=https://github.com/nixos/nixpkgs/archive/$rev.tar.gz"
# NOTE: Project/binary name # NOTE: Project/binary name
- name=hnix - name='hnix'
# NOTE: Used in the `generateOptparseApplicativeCompletions = true` # NOTE: Used in the `generateOptparseApplicativeCompletions = true`
- pkgName='haskellPackages.hnix' - pkgName='haskellPackages.hnix'
# NOTE: Enable all our tests in cabal # NOTE: Enable all our tests in cabal
- ALL_TESTS=yes - ALL_TESTS='yes'
# NOTE: Turn all warn into err with {-Wall,-Werror} # NOTE: Turn all warn into err with {-Wall,-Werror}
- failOnAllWarnings=false - failOnAllWarnings='false'
# NOTE: checkUnusedPackages: is `failOnAllWarnings` + `cabal sdist` to ensure all needed files are listed in the Cabal file. Uses `packunused` or GHC internals. Adds a post-build check to verify that dependencies declared in the cabal file are actually used. The first attrset argument can be used to configure the strictness of this check and a list of ignored package names that would otherwise cause false alarms. # NOTE: checkUnusedPackages: is `failOnAllWarnings` + `cabal sdist` to ensure all needed files are listed in the Cabal file. Uses `packunused` or GHC internals. Adds a post-build check to verify that dependencies declared in the cabal file are actually used. The first attrset argument can be used to configure the strictness of this check and a list of ignored package names that would otherwise cause false alarms.
- checkUnusedPackages=false - checkUnusedPackages='false'
# NOTE: Generation and installation of a coverage report. # NOTE: Generation and installation of a coverage report.
# See https://wiki.haskell.org/Haskell_program_coverage # See https://wiki.haskell.org/Haskell_program_coverage
- doCoverage=false - doCoverage='false'
# NOTE: Generation and installation of haddock API documentation # NOTE: Generation and installation of haddock API documentation
- doHaddock=false - doHaddock='false'
# NOTE: Escape the version bounds from the cabal file. You may want to avoid this function. # NOTE: Escape the version bounds from the cabal file. You may want to avoid this function.
- doJailbreak=false - doJailbreak='false'
# NOTE: Disables Nix dependency checking, compilation and execution of test suites listed in the package description file. # NOTE: Disables Nix dependency checking, compilation and execution of test suites listed in the package description file.
- doCheck=true - doCheck='true'
# NOTE: doBenchmark: Dependency checking + compilation and execution for benchmarks listed in the package description file. # NOTE: doBenchmark: Dependency checking + compilation and execution for benchmarks listed in the package description file.
- doBenchmark=false - doBenchmark='false'
- enableExecutableProfiling=false - enableExecutableProfiling='false'
- enableLibraryProfiling=false - enableLibraryProfiling='false'
# NOTE: Build a source distribution tarball instead of using the source files directly. The effect is that the package is built as if it were published on hackage. This can be used as a test for the source distribution, assuming the build fails when packaging mistakes are in the cabal file. # NOTE: Build a source distribution tarball instead of using the source files directly. The effect is that the package is built as if it were published on hackage. This can be used as a test for the source distribution, assuming the build fails when packaging mistakes are in the cabal file.
- buildFromSdist=false - buildFromSdist='false'
# NOTE: Build the package in a strict way to uncover potential problems. This includes buildFromSdist and failOnAllWarnings. # NOTE: Build the package in a strict way to uncover potential problems. This includes buildFromSdist and failOnAllWarnings.
# 2020-05-26: NOTE: Currently HNix not able to pass Strict on GHC 8.8.3 due to MonalFail migration # 2020-05-26: NOTE: Currently HNix not able to pass Strict on GHC 8.8.3 due to MonalFail migration
- buildStrictly=false - buildStrictly='false'
# NOTE: Disable core optimizations, significantly speeds up the build # NOTE: Disable core optimizations, significantly speeds up the build
- disableOptimization=true - disableOptimization='true'
# NOTE: Modify a Haskell package to add shell completion scripts for the given executable produced by it. These completion scripts will be picked up automatically if the resulting derivation is installed, e.g. by `nix-env -i`. # NOTE: Modify a Haskell package to add shell completion scripts for the given executable produced by it. These completion scripts will be picked up automatically if the resulting derivation is installed, e.g. by `nix-env -i`.
# Invocation: # Invocation:
# generateOptparseApplicativeCompletions command pkg # generateOptparseApplicativeCompletions command pkg
# #
# command: name of an executable # command: name of an executable
# pkg: Haskell package that builds the executables # pkg: Haskell package that builds the executables
- generateOptparseApplicativeCompletions=false - generateOptparseApplicativeCompletions='false'
- executableNamesToShellComplete='[ "hnix" ]' - executableNamesToShellComplete='[ "hnix" ]'
# NOTE: Don't fail at configure time if there are multiple versions of the same package in the (recursive) dependencies of the package being built. Will delay failures, if any, to compile time. # NOTE: Don't fail at configure time if there are multiple versions of the same package in the (recursive) dependencies of the package being built. Will delay failures, if any, to compile time.
- allowInconsistentDependencies=false - allowInconsistentDependencies='false'
# NOTE: Log file to dump GHCJS build into # NOTE: Log file to dump GHCJS build into
- ghcjsTmpLogFile='/tmp/ghcjsTmpLogFile.log' - ghcjsTmpLogFile='/tmp/ghcjsTmpLogFile.log'
# NOTE: Length of the GHCJS log tail (<40000) # NOTE: Length of the GHCJS log tail (<40000)
- ghcjsLogTailLength=10000 - ghcjsLogTailLength='10000'
# 2020-05-26: NOTE: Currently newest Travis dist Ubuntu 18.04 bionic # 2020-05-26: NOTE: Currently newest Travis dist Ubuntu 18.04 bionic
# NOTE: {os} x {jobs} + {jobs:include} - {jobs:exclude} = {build matrix} # NOTE: {os} x {jobs} + {jobs:include} - {jobs:exclude} = {build matrix}
@ -87,40 +87,40 @@ jobs:
include: include:
- name: GHC 8.4.4, Linux - name: GHC 8.4.4, Linux
env: env:
- GHCVERSION=ghc844 - GHCVERSION='ghc844'
- linkWithGold=true - linkWithGold='true'
os: linux os: linux
dist: bionic dist: bionic
- name: GHC 8.6.5, Linux - name: GHC 8.6.5, Linux
env: env:
- GHCVERSION=ghc865 - GHCVERSION='ghc865'
- linkWithGold=true - linkWithGold='true'
os: linux os: linux
dist: bionic dist: bionic
- name: GHC 8.8.3, macOS, Strict - name: GHC 8.8.3, macOS, Strict
env: env:
- GHCVERSION=ghc883 - GHCVERSION='ghc883'
- buildStrictly=true - buildStrictly='true'
os: osx os: osx
- name: GHC 8.10.1, Linux, SDist, Optimize, Benchmark, Haddock, Shell Completions - name: GHC 8.10.1, Linux, SDist, Optimize, Benchmark, Haddock, Shell Completions
env: env:
- GHCVERSION=ghc8101 - GHCVERSION='ghc8101'
- buildFromSdist=true - buildFromSdist='true'
- linkWithGold=true - linkWithGold='true'
- doHaddock=true - doHaddock='true'
- doBenchmark=true - doBenchmark='true'
- disableOptimization=false - disableOptimization='false'
- enableDeadCodeElimination=true - enableDeadCodeElimination='true'
- generateOptparseApplicativeCompletions=true - generateOptparseApplicativeCompletions='true'
os: linux os: linux
dist: bionic dist: bionic
- name: GHCJS, Linux - name: GHCJS, Linux
env: env:
- GHCVERSION=ghcjs - GHCVERSION='ghcjs'
os: linux os: linux
dist: bionic dist: bionic
allow_failures: allow_failures:
- env: GHCVERSION=ghcjs - env: GHCVERSION='ghcjs'
before_script: before_script:
- sudo mount -o remount,exec,size=4G,mode=755 /run/user || true - sudo mount -o remount,exec,size=4G,mode=755 /run/user || true