2018-02-13 10:47:24 +03:00
|
|
|
sudo: required
|
2020-03-10 09:44:20 +03:00
|
|
|
dict: xenial
|
2018-02-13 10:47:24 +03:00
|
|
|
matrix:
|
|
|
|
include:
|
2020-02-07 13:14:59 +03:00
|
|
|
- language: go
|
2020-03-12 12:16:49 +03:00
|
|
|
go: 1.13.8
|
2018-07-02 08:49:35 +03:00
|
|
|
before_install:
|
2020-03-12 12:16:49 +03:00
|
|
|
- cd src/watchdog/src
|
2018-07-02 08:49:35 +03:00
|
|
|
install:
|
2020-02-07 13:14:59 +03:00
|
|
|
- echo "Skipping default install phase"
|
2018-07-02 08:49:35 +03:00
|
|
|
script:
|
2020-03-12 12:16:49 +03:00
|
|
|
- go build ./cmd/watchdog/main.go
|
|
|
|
- go test ./pkg/watchdog
|
2018-09-13 07:33:22 +03:00
|
|
|
|
2018-12-05 12:31:49 +03:00
|
|
|
- language: python
|
|
|
|
python: 2.7
|
|
|
|
install:
|
2020-10-10 20:01:22 +03:00
|
|
|
- pip install dnspython==1.13.0 paramiko pyyaml jinja2 python-etcd kubernetes GitPython
|
2018-12-05 12:31:49 +03:00
|
|
|
script:
|
2020-04-20 05:47:59 +03:00
|
|
|
- python -m unittest deployment.clusterObjectModel.test.test_cluster_object_model
|
|
|
|
- python -m unittest deployment.clusterObjectModel.test.test_template_generate
|
2018-12-21 13:33:20 +03:00
|
|
|
- python -m unittest deployment.clusterObjectModel.test.test_forward_compatibility
|
2020-10-10 20:01:22 +03:00
|
|
|
- cd deployment
|
|
|
|
- python -m unittest discover test/
|
2018-12-21 13:33:20 +03:00
|
|
|
|
2018-09-13 07:33:22 +03:00
|
|
|
- language: python
|
2020-03-10 09:44:20 +03:00
|
|
|
python: 3.7
|
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
|
|
|
|
2019-03-11 09:37:43 +03:00
|
|
|
- language: python
|
|
|
|
python: 3.6
|
|
|
|
before_install:
|
|
|
|
- cd src/yarn-exporter/test
|
|
|
|
install:
|
|
|
|
- pip install prometheus_client twisted requests
|
|
|
|
script:
|
|
|
|
- python3 -m unittest discover .
|
|
|
|
|
2018-07-06 05:47:00 +03:00
|
|
|
- language: python
|
2020-04-01 05:59:15 +03:00
|
|
|
python: 3.8
|
2018-07-06 05:47:00 +03:00
|
|
|
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
|
2020-03-10 09:44:20 +03:00
|
|
|
dist: trusty
|
2018-02-13 10:47:24 +03:00
|
|
|
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:
|
2019-08-13 09:16:31 +03:00
|
|
|
- mvn clean test jacoco: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:
|
2019-08-13 09:16:31 +03:00
|
|
|
- mvn clean test jacoco:report
|
2018-09-13 07:33:22 +03:00
|
|
|
|
2018-02-13 10:47:24 +03:00
|
|
|
- language: node_js
|
2020-08-25 08:33:22 +03:00
|
|
|
node_js: lts/dubnium
|
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
|
2020-06-30 06:05:08 +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
|
2019-04-24 11:20:19 +03:00
|
|
|
node_js: lts/dubnium
|
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
|
2019-03-20 16:22:21 +03:00
|
|
|
|
2019-04-16 13:42:35 +03:00
|
|
|
- language: node_js
|
2019-04-24 11:20:19 +03:00
|
|
|
node_js: lts/dubnium
|
2019-05-28 05:37:28 +03:00
|
|
|
before_install: cd contrib/submit-job-v2
|
|
|
|
install: yarn --frozen-lockfiles
|
|
|
|
script: yarn build
|
2020-04-20 05:47:59 +03:00
|
|
|
|
|
|
|
- language: node_js
|
|
|
|
node_js: node
|
|
|
|
install:
|
|
|
|
- npm install -g @apidevtools/swagger-cli
|
|
|
|
script:
|
|
|
|
- swagger-cli validate src/rest-server/docs/swagger.yaml
|