From bc345c8c7aeb1dbe045b384c4ee25623ac40095d Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 16 May 2018 18:53:06 -0700 Subject: update CI script --- .gitlab-ci.yml | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 39a0e491..891e8e9f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,24 @@ -image: python:3.6-stretch -before_script: - - apt update -qy - - apt install -y python3-dev python3-pip python3-wheel - - pip3 install pipenv - - pipenv --version -unittest_and_lint: +rust_build: + image: "rust:1.26-stretch" + services: + - "postgres:9.6" + before_script: + - cargo install diesel_cli script: + - cd rust + - rustc --version && cargo --version + - cargo build + +python_unittest_and_lint: + image: python:3.6-stretch + before_script: + - apt update -qy + - apt install -y python3-dev python3-pip python3-wheel + - pip3 install pipenv + - pipenv --version + script: + - cd python - pipenv install --dev --deploy - pipenv run pytest --cov - pipenv run pylint --disable bad-continuation,arguments-differ,unidiomatic-typecheck fatcat -- cgit v1.2.3