diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 230eb1fe1b..78321d4916 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,17 @@ stages: .base_template : &BASE script: - - cat README.md + - nvidia-smi + - python -m pip install --upgrade pip + - pip install -r requirements.txt + - pip install flake8 + - pip install pep8-naming + # stop the build if there are Python syntax errors or undefined names + - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --config ./.flake8 + # exit-zero treats all errors as warnings. + # - flake8 . --count --statistics --config ./.flake8 + - ./runtests.sh --quick + - echo "Done with runtests.sh" build-ci-test: stage: build