diff options
author | Christopher McDowell <cmd@mcdowell.im> | 2019-11-15 19:49:52 +0100 |
---|---|---|
committer | Christopher McDowell <cmd@mcdowell.im> | 2019-11-15 19:49:52 +0100 |
commit | 595b4a214cf204c15fc83e58854877cdf8f890af (patch) | |
tree | 1682ba7aaa42ab5413974cafae004f5ea33555db /.travis.yml | |
download | mkosi-bitwarden_rs-595b4a214cf204c15fc83e58854877cdf8f890af.tar.gz |
Initial commit
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..3a463a0 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +dist: xenial + +env: + global: + - HADOLINT_VERSION=1.17.1 + +language: rust +rust: nightly +cache: cargo + +before_install: + - sudo curl -L https://github.com/hadolint/hadolint/releases/download/v$HADOLINT_VERSION/hadolint-$(uname -s)-$(uname -m) -o /usr/local/bin/hadolint + - sudo chmod +rx /usr/local/bin/hadolint + - rustup set profile minimal + +# Nothing to install +install: true +script: +- git ls-files --exclude='Dockerfile*' --ignored | xargs --max-lines=1 hadolint +- cargo build --features "sqlite" +- cargo build --features "mysql" |