2018-02-13 10:47:24 +03:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
matrix:
|
|
|
|
include:
|
2018-08-15 05:30:02 +03:00
|
|
|
- language: python
|
|
|
|
python: 2.7
|
|
|
|
before_install:
|
|
|
|
- cd deployment
|
|
|
|
install:
|
|
|
|
- pip install paramiko pyyaml jinja2 python-etcd kubernetes
|
|
|
|
script:
|
|
|
|
- python -m unittest discover test/
|
2018-09-13 07:33:22 +03:00
|
|
|
|
2018-07-02 08:49:35 +03:00
|
|
|
- language: python
|
2019-02-01 08:50:46 +03:00
|
|
|
python: 3.6
|
2018-07-02 08:49:35 +03:00
|
|
|
before_install:
|
2018-09-13 07:33:22 +03:00
|
|
|
- cd src/watchdog/test
|
2018-07-02 08:49:35 +03:00
|
|
|
install:
|
2019-02-01 08:50:46 +03:00
|
|
|
- pip install paramiko pyyaml requests prometheus_client twisted
|
2018-07-02 08:49:35 +03:00
|
|
|
script:
|
2018-09-13 07:33:22 +03:00
|
|
|
- python -m unittest discover .
|
|
|
|
|
2018-12-05 12:31:49 +03:00
|
|
|
- language: python
|
|
|
|
python: 2.7
|
|
|
|
install:
|
|
|
|
- pip install paramiko pyyaml jinja2 python-etcd kubernetes GitPython
|
|
|
|
script:
|
|
|
|
- python -m unittest deployment.clusterObjectModel.test.test_cluster_object_model
|
|
|
|
|
|
|
|
- language: python
|
|
|
|
python: 2.7
|
|
|
|
install:
|
|
|
|
- pip install paramiko pyyaml jinja2 python-etcd kubernetes GitPython
|
|
|
|
script:
|
|
|
|
- python -m unittest deployment.clusterObjectModel.test.test_template_generate
|
|
|
|
|
2018-12-21 13:33:20 +03:00
|
|
|
- language: python
|
|
|
|
python: 2.7
|
|
|
|
install:
|
|
|
|
- pip install paramiko pyyaml jinja2 python-etcd kubernetes GitPython
|
|
|
|
script:
|
|
|
|
- python -m unittest deployment.clusterObjectModel.test.test_forward_compatibility
|
|
|
|
|
2018-09-13 07:33:22 +03:00
|
|
|
- language: python
|
2018-12-11 07:58:39 +03:00
|
|
|
python: 3.6
|
2018-09-13 07:33:22 +03:00
|
|
|
before_install:
|
|
|
|
- cd src/job-exporter/test
|
|
|
|
install:
|
2018-12-11 07:58:39 +03:00
|
|
|
- pip install prometheus_client
|
2018-09-13 07:33:22 +03:00
|
|
|
script:
|
2018-12-11 07:58:39 +03:00
|
|
|
- python3 -m unittest discover .
|
2018-09-13 07:33:22 +03:00
|
|
|
|
2018-07-06 05:47:00 +03:00
|
|
|
- language: python
|
|
|
|
python: 2.7
|
|
|
|
install:
|
2018-09-24 16:44:26 +03:00
|
|
|
- pip install markdown==2.6.11
|
2018-07-06 05:47:00 +03:00
|
|
|
script:
|
2018-09-14 12:18:02 +03:00
|
|
|
- python src/utilities/doc_checker.py .
|
2018-09-13 07:33:22 +03:00
|
|
|
|
2018-02-13 10:47:24 +03:00
|
|
|
- language: java
|
|
|
|
jdk: oraclejdk8
|
|
|
|
before_install:
|
2018-09-14 07:34:41 +03:00
|
|
|
- cd subprojects/frameworklauncher/yarn
|
2018-02-13 10:47:24 +03:00
|
|
|
install:
|
|
|
|
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
|
|
|
script:
|
2018-04-02 11:50:01 +03:00
|
|
|
- mvn clean test jacoco:report coveralls:report
|
2018-09-13 07:33:22 +03:00
|
|
|
|
2018-02-13 10:47:24 +03:00
|
|
|
- language: java
|
|
|
|
jdk: openjdk8
|
|
|
|
before_install:
|
2018-09-14 07:34:41 +03:00
|
|
|
- cd subprojects/frameworklauncher/yarn
|
2018-02-13 10:47:24 +03:00
|
|
|
install:
|
|
|
|
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
|
|
|
|
script:
|
2018-04-02 11:50:01 +03:00
|
|
|
- mvn clean test jacoco:report coveralls:report
|
2018-09-13 07:33:22 +03:00
|
|
|
|
2018-02-13 10:47:24 +03:00
|
|
|
- language: node_js
|
2018-11-19 07:41:17 +03:00
|
|
|
node_js: lts/carbon
|
2018-02-13 10:47:24 +03:00
|
|
|
env: NODE_ENV=test
|
|
|
|
before_install:
|
2018-09-12 13:30:50 +03:00
|
|
|
- cd src/rest-server
|
2018-02-13 10:47:24 +03:00
|
|
|
install:
|
2018-11-19 07:41:17 +03:00
|
|
|
- yarn install
|
2018-02-13 10:47:24 +03:00
|
|
|
script:
|
|
|
|
- npm test
|
2018-03-22 14:31:39 +03:00
|
|
|
- npm run coveralls
|
2018-09-13 07:33:22 +03:00
|
|
|
|
2018-02-13 10:47:24 +03:00
|
|
|
- language: node_js
|
2018-11-19 07:41:17 +03:00
|
|
|
node_js: node
|
2018-02-13 10:47:24 +03:00
|
|
|
env: NODE_ENV=test
|
|
|
|
before_install:
|
2018-09-12 13:30:50 +03:00
|
|
|
- cd src/rest-server
|
2018-02-13 10:47:24 +03:00
|
|
|
install:
|
2018-11-19 07:41:17 +03:00
|
|
|
- yarn install --ignore-engines
|
2018-02-13 10:47:24 +03:00
|
|
|
script:
|
|
|
|
- npm test
|
2018-03-22 14:31:39 +03:00
|
|
|
- npm run coveralls
|
2018-09-13 07:33:22 +03:00
|
|
|
|
2018-03-05 14:42:39 +03:00
|
|
|
- language: node_js
|
2018-11-19 07:41:17 +03:00
|
|
|
node_js: lts/carbon
|
2018-03-05 14:42:39 +03:00
|
|
|
before_install:
|
2018-09-12 13:31:44 +03:00
|
|
|
- cd src/webportal
|
2018-03-05 14:42:39 +03:00
|
|
|
install:
|
2018-11-19 07:41:17 +03:00
|
|
|
- yarn install
|
2018-03-05 14:42:39 +03:00
|
|
|
- npm run build
|
|
|
|
script:
|
|
|
|
- npm test
|
2018-09-13 07:33:22 +03:00
|
|
|
|
2018-03-05 14:42:39 +03:00
|
|
|
- language: node_js
|
2018-11-19 07:41:17 +03:00
|
|
|
node_js: node
|
2018-03-05 14:42:39 +03:00
|
|
|
before_install:
|
2018-09-12 13:31:44 +03:00
|
|
|
- cd src/webportal
|
2018-03-05 14:42:39 +03:00
|
|
|
install:
|
2018-11-19 07:41:17 +03:00
|
|
|
- yarn install --ignore-engines
|
2018-03-05 14:42:39 +03:00
|
|
|
- npm run build
|
|
|
|
script:
|
|
|
|
- npm test
|
2019-02-18 12:12:09 +03:00
|
|
|
|
|
|
|
- language: node_js
|
|
|
|
node_js: node
|
|
|
|
before_install: cd contrib/submit-simple-job
|
|
|
|
install: npm install
|
|
|
|
script: npm test
|