summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-08 16:28:27 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-08 16:28:27 -0800
commit16f2e78298dbd2231f5f337ea17c89a6a131a052 (patch)
tree6e72581e625e73c97cbab72d0f9c35665c99e5d7 /.gitlab-ci.yml
parenteb40a5f274f3608db34309cfd16739a7642ef5e7 (diff)
parentffb721f90c5d97ee80885209bf45feb85ca9625c (diff)
downloadfatcat-16f2e78298dbd2231f5f337ea17c89a6a131a052.tar.gz
fatcat-16f2e78298dbd2231f5f337ea17c89a6a131a052.zip
Merge branch 'bnewbold-crude-auth'
Fixed a conflict in: python/fatcat_export.py
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 19719230..ffd2947f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,19 +14,22 @@ unified_test:
before_script:
- cargo install diesel_cli --version 1.3.1
- apt update -qy
- - apt install -y python3-dev python3-pip python3-wheel libsnappy-dev
+ - apt install -y python3-dev python3-pip python3-wheel libsnappy-dev libsodium-dev
- pip3 install pipenv
- pipenv --version
script:
- rustc --version && cargo --version && diesel --version
- cd rust
+ - cp env.example .env
- diesel database reset && diesel migration run
- cargo build
- cargo test -- --test-threads 1
- cargo run --bin fatcatd &
- cd ../python
+ - cp env.example .env
- pipenv install --dev --deploy
- pipenv run pytest --cov
+ - pipenv run ./tests/cli.sh
# Just errors
- pipenv run pylint -E fatcat*.py fatcat_tools fatcat_web