pai/.travis.yml

125 строки
3.1 KiB
YAML
Исходник Обычный вид История

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-07-02 08:49:35 +03:00
- language: python
python: 3.6
2018-07-02 08:49:35 +03:00
before_install:
- cd src/watchdog/test
2018-07-02 08:49:35 +03:00
install:
- pip install paramiko pyyaml requests prometheus_client twisted
2018-07-02 08:49:35 +03:00
script:
- python -m unittest discover .
- 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
- 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
- language: python
python: 3.6
before_install:
- cd src/job-exporter/test
install:
- pip install prometheus_client
script:
- python3 -m unittest discover .
- language: python
python: 2.7
install:
- pip install markdown==2.6.11
script:
- python src/utilities/doc_checker.py .
- language: java
jdk: oraclejdk8
before_install:
2018-09-14 07:34:41 +03:00
- cd subprojects/frameworklauncher/yarn
install:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- mvn clean test jacoco:report coveralls:report
- language: java
jdk: openjdk8
before_install:
2018-09-14 07:34:41 +03:00
- cd subprojects/frameworklauncher/yarn
install:
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- mvn clean test jacoco:report coveralls:report
- language: node_js
node_js: lts/carbon
env: NODE_ENV=test
before_install:
- cd src/rest-server
install:
- yarn install
script:
- npm test
2018-03-22 14:31:39 +03:00
- npm run coveralls
- language: node_js
node_js: node
env: NODE_ENV=test
before_install:
- cd src/rest-server
install:
- yarn install --ignore-engines
script:
- npm test
2018-03-22 14:31:39 +03:00
- npm run coveralls
- language: node_js
node_js: lts/carbon
before_install:
- cd src/webportal
install:
- yarn install
- npm run build
script:
- npm test
- language: node_js
node_js: node
before_install:
- cd src/webportal
install:
- yarn install --ignore-engines
- npm run build
script:
- npm test
- language: node_js
node_js: node
before_install: cd contrib/submit-simple-job
install: npm install
script: npm test