-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
67 lines (66 loc) · 3.91 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
sudo: required
dist: trusty
addons:
hosts:
- cedar.metadatacenter.orgx
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
language: node_js
node_js:
- '6'
branches:
only:
- develop
- master
notifications:
slack:
on_success: always
on_failure: always
secure: xQQEo+EtbJkzgG8peEhrIkXvq96RWsWQ3HSZTNrS/k11DEjp1//8m1yHk7JrM1sCz8rdEbvyQz79LQvAqN2UwQCIiExRs9NGh+tgHPfNrCk0pXRHNqaCrSSbcZGIXLaxDddUKXbOFqfOxjs7PhyFNjzcVN81GQ7E7fRLqfF75YYG1IY2kzMz7uuPYVB/uZ+EfWgJtoXNZy3vbLu8g5be6PHLj3nQGDU46IGUFLXxuANRzUC73EfKWNWaRRDw34Q7ThH767fvQkmX7CcO4v1EeHfvPMMXBAhyCF7kTQPkXXB+dmuirJKGNfD/7LX5/hSKBwvNKE5ZBLkCPVvLy7M627JuP61v87P9udLPcmrGeUBnfPq6s1oIHE+ihkeJGyGjKaFnOkVYx2B/3L+rHSk14cepsnhnP3dXgs2DPVsKZbilkstFQWbaGnpk3DMFpBGvh4GI/TPYXupNVn01Y5huNG5KITe7nEwO5nhow8L5gxZmLsHLI0W4bM+0SZmIdD3rfmz/jdfgUbfk9noXKP21q1Gf9+qlFqgE36yYqzzYq4xjyQus93wHxEaV7UqUz7Ici/PQE1o2yIQifa1tMQJvx7rhr+paToX95LrRF+4xRXL9+5iTwQDbRvKgUUB8cDi5d7RMyhn9upBfnEWAgDHCqgLb9M2rqU1yq2oi6HS16cM=
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- npm install
- npm install -g protractor
- webdriver-manager update --gecko false
- nohup bash -c "webdriver-manager start --gecko false 2>&1 &"
jobs:
include:
- stage: karma and e2e tests
before_script: gulp karma-travis-env # sets up the environment to run the karma tests
script: gulp karma-tests # karma stage
# - script: gulp test-clean-up # e2e stage
# - script: gulp test-staging # e2e stage
- script: gulp test-metadata # e2e stage
- script: gulp test-work-space # e2e stage
- script: gulp test-template # e2e stage
- script: gulp test-share-delete # e2e stage
- script: gulp test-copy-move # e2e git stage
- script: gulp test-sidebar # e2e git stage
env:
global:
- CEDAR_ANALYTICS_KEY=false
- CEDAR_FRONTEND_BEHAVIOR=server
- CEDAR_FRONTEND_TARGET=staging
- CEDAR_VERSION="2.7.1"
- CEDAR_VERSION_MODIFIER=""
- CEDAR_FRONTEND_staging_HOST=staging.metadatacenter.org
- CEDAR_FRONTEND_staging_USER1_LOGIN="[email protected]"
- CEDAR_FRONTEND_staging_USER1_NAME="Test User 1"
- CEDAR_FRONTEND_staging_USER2_LOGIN="[email protected]"
- CEDAR_FRONTEND_staging_USER2_NAME="Test User 2"
- CEDAR_FRONTEND_staging_HOST=staging.metadatacenter.org
- CEDAR_FRONTEND_local_REST_HOST=staging.metadatacenter.org
- CEDAR_FRONTEND_local_UI_HOST=staging.metadatacenter.org
- CEDAR_FRONTEND_staging_REST_HOST=staging.metadatacenter.org
- CEDAR_FRONTEND_staging_UI_HOST=staging.metadatacenter.org
# - CEDAR_FRONTEND_staging_UI_HOST=metadatacenter.orgx
- secure: dPByyBBrEqVeKyiPMo6jSecFpTgCS0Lz1h2cuNjACHfp2U5VTL4ikbZew09Kt/xDbBy3lUNQD0B/p0YX0qY+R41QG4hy3FbKnsTkzquIHsOwx2LVh6q3cK9DDCvpQv37HDHaU4zhphl9qQAWVZMczRkaQIFTtlGa30/IE/vIZoxHLkNcTnGoAc5OSJ2T/T55CGj+NCoD4XVqXQzZxQ7xNpJ/ZN7PFI1cobjuzxfzKzKRehmHx6/pNuoW7RiCYXWYLkV2SyslMKy9JUPX0TrZh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