This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
forked from snowplow/snowplow-javascript-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
67 lines (64 loc) · 2.64 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
addons:
hosts:
- snowplow-js-tracker.local
node_js:
- 8.12.0
language: node_js
install:
- npm install -g [email protected]
- npm install -g grunt-cli
# install packages and build core
- cd core
- rm -rf node_modules
- npm install
- grunt ts
- grunt dtsGenerator
# install packages for tracker
- cd ..
- rm -rf node_modules
- npm install
before_script:
script:
- cd core && grunt intern && cd ..
# - grunt travis && npm run test:unit && npm run test:e2e:sauce
- grunt travis && npm run test:unit
# before_deploy:
# - grunt default
# deploy:
# - provider: script
# skip_cleanup: true
# script: ./.travis/deploy.py
# on:
# condition: '"$(.travis/is_correct_core_release_tag.sh $TRAVIS_TAG)" == "" && $? == 0'
# tags: true
# # - provider: script
# # skip_cleanup: true
# # script: ./.travis/deploy.py
# # on:
# # condition: '"$(.travis/is_tracker_release_tag.sh $TRAVIS_TAG)" == "" && $? == 0'
# # tags: true
# - provider: releases
# skip_cleanup: true
# api_key:
# secure: juUw//XdoRAb494NvxNTghZC7TBJLBx8WdAZsrSGp+6Sf7yPZ6skDt/+qU2VgrG/4RBWUwl3lnAWobiY6ZQQSD95lQDyVM9IdC9JHchhVav1nHBrcJWubEKN/R0Ri/3XjLFJ/LFlkdOteYYPVZR6MGehRR9Gsnazavk9+0x6c1A=
# file: $TRAVIS_BUILD_DIR/dist/sp.js
# on:
# condition: '"$(.travis/is_correct_tracker_release_tag.sh $TRAVIS_TAG)" == "" && $? == 0'
# tags: true
# env:
# global:
# # SAUCE_USERNAME
# - secure: S/6Ild1n9SmW8xYqarjkigDqmyFgWS4Hi0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HFAASm7RDTe4zz1rYMFs2+DYLbIKu0Ki8I=
# - AWS_S3_BUCKET=snowplow-static-js
# - AWS_REGION=eu-west-1
# - AWS_CF_DISTRIBUTION=E1RICD7QD0F2KE