forked from algolia/algoliasearch-client-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (43 loc) · 2.26 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
language: node_js
node_js:
- stable
branches:
only:
- master
- develop
# force container based infra
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/#Routing-your-build-to-container-based-infrastructure
sudo: false
cache: yarn
addons:
sauce_connect:
# we don't want algolia.biz to go through sauce connect proxy but rather directly through the internet
# to avoid bad behaviour in tests checking for algolia.biz blackhole dns
direct_domains: "*.algolia.biz"
hosts:
- localhostfix.nossl # this domain is used in place of "localhost" which is blocked in Safari, we also do not use ".dev" which default to https in Chrome and Firefox
script:
- "yarn run test-ci:${SCRIPT}"
env:
matrix:
- SCRIPT=lint
- SCRIPT=bundlesize
- SCRIPT=unit-node
- SCRIPT=integration-node
- SCRIPT=unit-browsers ZUUL_CONCURRENCY=2
- SCRIPT=integration-browsers ZUUL_CONCURRENCY=3
global:
# saucelabs credentials
# subaccount of "opensauce-algolia"
- SAUCE_USERNAME=algoliasearch-js
- secure: "oKl1RMuEO9bYoKevbFeFX72M2eV+DIJG/9UGMP4oLb3z5B8T5xAlQSEt8Lp0Zms6qqA+4hAQhZTKXDtdpx7NK+SuqYiv4oR9hdiJBbrRXIRuY86R2T/opO/RlBETL+7Y2R1AGM/kZzyiZSFqN9slGVzWziBtLJjJ4ncoceE8izs="
# INTEGRATION_TEST_APPID
- secure: "LADQT7mA3danSsZ6pd2io1G+4EXfdnd0NS3BuzLHcGgl5ehwbkUnZtD8JUHai4ZtawwsxRv3p2qgBbl5UVnFeWAyr7pSGVcMeB6UtQG1JwTnmbHri131yOc/EwEYlEHhF/ecC7V5NTa1VWqSi7r4Jj8KyIeaorvRX8C7AAv8saU="
# INTEGRATION_TEST_API_KEY
- secure: "btDyGZTDN633cISK5C0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