Add .gitlab-ci.yml

This commit is contained in:
Parthiv Patel 2018-01-17 06:26:43 +00:00
parent cb7bf9524f
commit d1b2c88e61

11
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,11 @@
image: ubuntu:xenial
stages:
- test
job_test:
stage: test
script:
- apt-get update && apt-get install -y apt-utils locales git
- git clone https://gitlab.com/flectra-hq/build-tools.git ${CI_PROJECT_DIR}/build-tools && export PATH=${CI_PROJECT_DIR}/build-tools/travis:${PATH}
- travis_install_flectra
- su - flectra -c "export PATH=${CI_PROJECT_DIR}/build-tools/travis:${PATH} && travis_test_flectra --build=base"
- su - flectra -c "export PATH=${CI_PROJECT_DIR}/build-tools/travis:${PATH} && travis_test_flectra --build=all"