diff --git a/.travis.yml b/.travis.yml index 4ac12576..d5800da7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,28 +1,25 @@ -stages: - - "Tests" - - "docker-compose integration tests" - +dist: bionic +language: shell +os: linux jobs: include: - stage: "Tests" name: "Admin tests" language: node_js - node_js: - - "8" + node_js: "12" cache: directories: - node_modules before_install: - cd admin install: - - yarn + - yarn install script: - yarn test && yarn build - name: "Backend tests" language: python - python: - - 3.6 + python: "3.6" cache: pip: true services: @@ -31,22 +28,21 @@ jobs: before_install: - cd backend install: - - pip install pytest==4.3.0 pytest-cov coveralls + - pip install pytest==4.* pytest-cov coveralls - pip install -r requirements.txt script: - PYTHONPATH=`pwd` pytest --cov=src - name: "Frontend tests" language: python - python: - - 3.6 + python: "3.6" cache: pip: true before_install: - cd frontend install: - pip install -r requirements.txt - - pip install pytest py-w3c + - pip install pytest==4.* py-w3c script: - BACKEND_URL=https://www.research-software.nl/api PYTHONPATH=. pytest --live @@ -58,3 +54,7 @@ jobs: - docker-compose build script: - docker-compose --file docker-compose.yml --file docker-compose.test.yml run test + +stages: + - "Tests" + - "docker-compose integration tests" diff --git a/admin/Dockerfile b/admin/Dockerfile index dde5ca5a..43fada07 100644 --- a/admin/Dockerfile +++ b/admin/Dockerfile @@ -1,4 +1,4 @@ -FROM node:8.11.1 +FROM node:12.15.0 RUN mkdir /app diff --git a/admin/public/settings.json b/admin/public/settings.json index 73df60e0..206ddf8e 100644 --- a/admin/public/settings.json +++ b/admin/public/settings.json @@ -19,10 +19,6 @@ "help": "
Answer the following questions (in Markdown with bullet points (*)):
Example for Xenon:
* Provides an easy-to-use interface for distributed computing developers
* Enables the use of different file transfer protocols and scheduling systems on remote machines
* No need to learn and implement many different APIs
* Successfully used in many eScience tools and projects