tacticalrmm/.travis.yml

94 lines
2.1 KiB
YAML
Raw Normal View History

2019-10-22 22:55:14 +00:00
dist: xenial
2019-10-22 22:22:36 +00:00
2019-12-16 01:37:54 +00:00
matrix:
2019-12-16 01:18:58 +00:00
include:
2019-12-16 01:45:36 +00:00
- language: node_js
node_js: "10"
before_install:
- cd web
install:
- npm install
script:
- npm run build
- language: node_js
node_js: "11"
before_install:
- cd web
install:
- npm install
script:
- npm run build
- language: node_js
node_js: "12"
before_install:
- cd web
install:
- npm install
script:
- npm run build
- language: node_js
node_js: "10"
before_script:
- mkdir meshcentral && cd meshcentral
script:
- npm install meshcentral
2019-12-16 01:18:58 +00:00
- language: node_js
2019-12-16 01:37:54 +00:00
node_js: "11"
2019-12-16 01:18:58 +00:00
before_script:
- mkdir meshcentral && cd meshcentral
script:
- npm install meshcentral
2019-12-16 01:37:54 +00:00
- language: node_js
node_js: "12"
before_script:
- mkdir meshcentral && cd meshcentral
script:
- npm install meshcentral
- language: python
python: "3.7"
services:
- postgresql
before_script:
- psql -c 'CREATE DATABASE travisci;' -U postgres
- psql -c "CREATE USER travisci WITH PASSWORD 'travisSuperSekret6645';" -U postgres
- psql -c 'GRANT ALL PRIVILEGES ON DATABASE travisci TO travisci;' -U postgres
- psql -c 'ALTER USER travisci CREATEDB;' -U postgres
before_install:
- cd api/tacticalrmm
install:
- pip install --upgrade pip
- pip install -r requirements-test.txt
script:
- python manage.py test -v 2
2019-12-16 01:24:07 +00:00
- language: python
2019-12-16 01:37:54 +00:00
python: "3.8"
2019-12-16 01:24:07 +00:00
services:
- postgresql
2019-10-22 22:22:36 +00:00
2019-12-16 01:24:07 +00:00
before_script:
- psql -c 'CREATE DATABASE travisci;' -U postgres
- psql -c "CREATE USER travisci WITH PASSWORD 'travisSuperSekret6645';" -U postgres
- psql -c 'GRANT ALL PRIVILEGES ON DATABASE travisci TO travisci;' -U postgres
- psql -c 'ALTER USER travisci CREATEDB;' -U postgres
2019-10-22 22:22:36 +00:00
2019-12-16 01:24:07 +00:00
before_install:
- cd api/tacticalrmm
2019-10-22 22:22:36 +00:00
2019-12-16 01:24:07 +00:00
install:
- pip install --upgrade pip
- pip install -r requirements-test.txt
script:
- python manage.py test -v 2