
before_script:
  - python3 -m venv myenv
  - source myenv/bin/activate
  - pip3 install -r requirements.txt

after_script:
  - deactivate

stages:
  - test

#unit_test_job:
#  stage: test
#  script:
#    - python3 -m unittest discover
#  only:
#    - master

smoke_test_job:
  stage: test
  script:
    - ./GenerateUnitTests.py -h
  only:
    - master


before_script:
  - python3 -m venv myenv
  - source myenv/bin/activate
  - pip3 install -r requirements.txt

stages:
  - test

#unit_test_job:
#  stage: test
#  script:
#    - python3 -m unittest discover
#  only:
#    - master

smoke_test_job:
  stage: test
  script:
    - ./GenerateUnitTests.py -h
  only:
    - master

Remove after_script from CI -- it isn't necessary and is currently broken in Gitlab 9.0.0
Remove after_script from CI -- it isn't necessary and is currently broken in Gitlab 9.0.0
