flectra/.gitlab-ci.yml

33 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2018-01-17 07:26:43 +01:00
image: ubuntu:xenial
stages:
- test
2018-01-24 12:25:05 +01:00
job_test_base_pg_96:
2018-01-17 07:26:43 +01:00
stage: test
script:
- apt-get update && apt-get install -y apt-utils locales git
2018-01-17 07:29:44 +01:00
- git clone https://gitlab.com/flectra-hq/build-tools.git ${CI_PROJECT_DIR}/build-tools && export PATH=${CI_PROJECT_DIR}/build-tools/gitlab-ci:${PATH}
- gitlab_ci_install_flectra
- su - flectra -c "export PATH=${CI_PROJECT_DIR}/build-tools/gitlab-ci:${PATH} && gitlab_test_flectra --build=base"
2018-01-24 12:25:05 +01:00
job_test_all_96:
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/gitlab-ci:${PATH}
- gitlab_ci_install_flectra
2018-01-24 12:25:05 +01:00
- su - flectra -c "export PATH=${CI_PROJECT_DIR}/build-tools/gitlab-ci:${PATH} && gitlab_test_flectra --build=all"
job_test_base_100:
stage: test
script:
- apt-get update && apt-get install -y apt-utils locales git
2018-01-24 12:30:57 +01:00
- export POSTGRESQL_VERSION=10
2018-01-24 12:25:05 +01:00
- git clone https://gitlab.com/flectra-hq/build-tools.git ${CI_PROJECT_DIR}/build-tools && export PATH=${CI_PROJECT_DIR}/build-tools/gitlab-ci:${PATH}
- gitlab_ci_install_flectra
- su - flectra -c "export PATH=${CI_PROJECT_DIR}/build-tools/gitlab-ci:${PATH} && gitlab_test_flectra --build=base"
job_test_all_100:
stage: test
script:
- apt-get update && apt-get install -y apt-utils locales git
2018-01-24 12:30:57 +01:00
- export POSTGRESQL_VERSION=10
2018-01-24 12:25:05 +01:00
- git clone https://gitlab.com/flectra-hq/build-tools.git ${CI_PROJECT_DIR}/build-tools && export PATH=${CI_PROJECT_DIR}/build-tools/gitlab-ci:${PATH}
- gitlab_ci_install_flectra
2018-01-17 07:29:44 +01:00
- su - flectra -c "export PATH=${CI_PROJECT_DIR}/build-tools/gitlab-ci:${PATH} && gitlab_test_flectra --build=all"