Files
LingvAI/.travis.yml
David bdaced0457 Dependencies updated & small enhancements (#27)
* Dependencies updated and imports shortened

* Head tags refactored

* Final tweaks
2021-06-12 22:44:56 +02:00

34 lines
418 B
YAML

language: node_js
node_js:
- lts/*
os: linux
dist: xenial
addons:
apt:
packages:
- libgconf-2-4
cache:
yarn: true
directories:
- ~/.cache
branches:
only:
- main
script:
- yarn test --ci
- yarn build
- yarn start & wait-on http://localhost:3000
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ];
then
yarn cy:run --record --key $CY_KEY;
else
yarn cy:run;
fi'