Skip to content

Instantly share code, notes, and snippets.

@FeodorFitsner
Last active April 16, 2021 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FeodorFitsner/79194d15e202160e2e2f40d77b17694c to your computer and use it in GitHub Desktop.
Save FeodorFitsner/79194d15e202160e2e2f40d77b17694c to your computer and use it in GitHub Desktop.
Test matrix override
image: Ubuntu
platform:
- electron
- linux
- simulator
configuration:
- production
- qa
environment:
nodejs_version: 12.20.2
DEPENDENCY: 0
APP_VERSION: 1
BUILD_POSTFIX: -nightly
version: '${APP_VERSION}-{build}'
build: off
test_script:
- echo "Default should always be overridden"
for:
-
matrix:
only:
- platform: simulator
configuration: qa
environment:
BUILD_POSTFIX: -qa
test_script:
- echo "run_sim_tests.sh"
-
matrix:
only:
- platform: simulator
configuration: production
environment:
BUILD_POSTFIX: -prod
test_script:
- echo "run_sim_tests.sh"
-
matrix:
only:
- platform: linux
configuration: qa
environment:
BUILD_POSTFIX: -qa
test_script:
- echo "run_linux_tests.sh"
-
matrix:
only:
- platform: linux
configuration: production
environment:
BUILD_POSTFIX: -prod
test_script:
- echo "run_linux_tests.sh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment