diff --git a/azure-pipelines-template.yml b/azure-pipelines-template.yml index 655ba844..979622a0 100644 --- a/azure-pipelines-template.yml +++ b/azure-pipelines-template.yml @@ -16,6 +16,7 @@ jobs: versionSpec: $(node_version) - script: | + ${{ parameters.preScript }} node --version npm --version yarn --version diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fa2badeb..a345e1f9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -3,10 +3,14 @@ jobs: parameters: name: unit_tests vmImage: 'Ubuntu-16.04' + preScript: '' script: yarn test:ci - template: azure-pipelines-template.yml parameters: name: e2e_tests vmImage: 'Ubuntu-16.04' - script: yarn test:e2e:ci + preScript: | + apt-get update && apt-get install -y libgconf-2-4 + script: | + yarn test:e2e:ci