This repository has been archived by the owner on Dec 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy path.travis.yml
45 lines (45 loc) · 4.54 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
language: javascript
env:
global:
- TRAVIS_LAUNCHES_SAUCE_CONNECT=true
#SAUCE_USERNAME=smcgregor(smcgregor/privly-applications)
- secure: lTlOUWwrtyeN6HqCHNaqaQQF1aBx50W2F4r/KEg/nZcV/QDJAa0wqAbs11+4sEUW5FpA56zieha3G4fG+Iv/3IDAXahHC7LRYB06hK3l0PvaApzPDWq8JQpLs0KS+GRU/kwHA8vemn4KfcI1Ue7WNfCi1vp8V46miA2Gjdjf2e4=
#SAUCE_ACCESS_KEY=********-****-****-****-************(smcgregor/privly-applications)
- secure: at4ygn2fOHba8vPRQi1ZEBIf+agBupMVtkY5ChpeZhcY3p0tgKV9PhQ5IxWLL6TxN86I2VgrC6W54y6kKGQ6TVz7j/z1P3z2DD7Ktb/WqwgLYY4ErSMCSXmOHVp5ckaVNuZL0zf9E0LEIM4MqiuWiqtEN1C+ChebsVQLLCUqeIo=
#SAUCE_USERNAME=privly(privly/privly-applications)
- secure: BHW3N0ZlHfTNgDFMM3YAIlh8D4yA2Iq5RO98eT0ZlE49Qf0LJFAyQM9FaCCf3vH6dM6F0Dfxog0dx3Lcvx+HTBw/mXKuAv8LoztJstPT1MrWiagMRUtiD2lV6fuHrTcKgIh7ZcJ4v3JsxK4MPr4/Jd+5R/7bHcZojnZER966TmM=
#SAUCE_ACCESS_KEY=********-****-****-****-************(privly/privly-applications)
- secure: Frwnui8FRWR+BfMGpgHY8ARtkcZ2s/MHSXKqdSfufvpOuX0kf2DO/C4qzN2qyapf/6+zEAjpfyLa5yTlL51fdOiQ6TXJvyWZbYBRzHR5E6GzOYpoBUmzx6AppK61/Gjl2mHA642qnSenNXjdnVjIGitEy/ByoDrFdTNx4ZqkWy4=
#SAUCE_USERNAME=spectralsun(spectralsun/privly-applications)
- secure: FrGRLRd3vfQGp4mFMg5KwABny8OTvIGnx1EKP7QtmN6cr4DOuNtrs80SQenB12Ah4gB6sdTzvVo/TxTv1RTKTPlLhodxaikWirajpSGuX3s949vXoXZdCQIoWYOhmWnmhxkETyerVjlCPLMnPT9f2Q4/b6pADJIwBbgnjmovKPs=
#SAUCE_ACCESS_KEY=********-****-****-****-************(spectralsun/privly-applications)
- secure: Rw9uKH39KUMv0Nf51WyO/ZM/zFmoeEr89G1AwLdUsrqzP+YB877bAXegTQqfg82jPGDGj/IVbjPOkJdEutoamq55HoNr4vqY1AMG64CImkPpBa1mxouB1NTGrooWRRtJ13Aos8jVsV53VPbIluXMtEJpAr+TFZDyd1FN9w7ZGBg=
#SAUCE_USERNAME=bramwelt(bramwelt/privly-applications)
- secure: h3fl8wyU9EW4SrsJ701BqgCjb6zL51K8Y0Q2oArgayEA4k4OXC/tE7yWwHxBSXbUf788hJRzmXqj+VtRkDSlGOK1hPqKQYuZX+6X349n1RddD6Bf92oTNqB5jKX9YrPItNbhPcMsb72BGQz2ddVjSkW4sIZ3nfFMMdRDrxyPi2I=
#SAUCE_ACCESS_KEY=********-****-****-****-************(bramwelt/privly-applications)
- secure: ch0q30vSeO5YVrkG/Cuyk3BhGdHmDmHce/db4mm5fjvSNHfF4o1KWv+HVcy2Ok4rzD06lV/cp/Ps7mMbKrF3OruS6jPWW68PFVPJAD6enaXZW8K9Xlj7yfZOH1cFjw9mDcTkltUhlh97p3/Lp/2/97blXOG4cvd0Rb+I1KuQr7I=
#SAUCE_USERNAME=irdan(irdan/privly-applications)
- secure: XpyyEMPAvqtQIXap/dLAgl8JhAKfoSdsmoGY659eHZcijYv6d8pOX7JPUfwHhteoso/MkX9o+F8t7z7AIigNi0FJHQedP4cwhtbYEDFr8w4tRz9TYf7u4d/UUosVD4x95v9Yp+G84P/Rw6Vr90TgXExo4hVxJx2faNp9xkpMqE8=
#SAUCE_ACCESS_KEY=********-****-****-****-************(irdan/privly-applications)
- secure: gCbEFk/4uWMa41BFLLwHaoJebbZHpxIF6H2NCqiAYlVwAKB2Dzya9imwKzm6XUCXRyUakN8eaJBO9d9OQtRV+D2Uap7sUDGoAjeGgKQuGYpbSYgN8NQVAJdY+WeAeH4Ul4ExZOJKQH7AL6pFkCHn9m/RnXCosrOG+ob4fievJ8s=
#SAUCE_USERNAME=jatindhankhar(jatindhankhar/privly-applications)
- secure: kCjnbIfAAbSwAOZISCzsxsoI1DjDLPXzLwcDMCDSluJypfyxqoOrwBBs+u96wwHylr+lsYzEdAa+A7BWjlSzkYUwkCMRUAlu2+5fXCjelG4uGUFio+AiipF8HPCqgsxA9e5i+JEGk/aWkt6i3obZP5sQnaLMOigYA3ngEce3yp4=
#SAUCE_ACCESS_KEY=********-****-****-****-************(jatindhankhar/privly-applications)
- secure: BOfaPuGkeDJX+YhpoZn7zXzZLs+Kb6GALuap7jRX33M6igamx+MCMl1OTtKRuFiosZBDZQrs/E24QzRzSF9gBzqSqPTgQNUkoECwaIm0IIsdA8ff1SoFuFw8x8iFKFPXVb5C72xtwqXfqRAqchX6Jd4v/Wh+mEDMESxE5S5XIRY=
#SAUCE_URL=http://jatindhankhar:********-****-****-****-************@ondemand.saucelabs.com/wd/hub
- secure: sWkxx3v8RxChO0lZSYqNjkYvfg1Re6LwpDeBZIgw1qBBBg5UdCLJZitOAAqKsdoUpeVD0Hk9o6UdWfVnYAw81xArvHpl32VQgItY60UVhHVoszX5CQFo7bp0p59dPZbzx4XjJfZhM0btrHOUHpJkeoU6Ia9Z+gTiZ04uC+Jqi/s=
#CODECLIMATE_REPO_TOKEN=**************************(smcgregor/privly-applications)
- secure: CevDxddWV/R2vF66U94Id30vSkQ2I1DBY36bl2VPyY5OsBGhSFWaF0l5j6KIgBZyYrwQF2IT1I/hUPtLbTvHhPgaE5CcV1LHGxueWtaYEXfAfHSVy0ChhhilKdUOOyA7245yad6UHYQIwx7Kz/EKXXA/0hczEcUl/OH6ZxkGcws=
#CODECLIMATE_REPO_TOKEN=**************************(privly/privly-applications)
- secure: HAqHN7zeSbDR7BP0pn6qH6ODOwuMD7eIR9t4h1gHkRy6WAQBrhQb1+kTzkGbhfKB1mftxN/0ERTK6xv+iBj4QylqOOXChnuthuHMZiAuwPJncj8FYE4LHt2Eh48+HnzSQUgzjxv11hvkLz4utaj0J4fub2q/tWzoAXucA13UGQU=
script:
- cd test
- export BROWSERS_TO_TEST=Chrome,Firefox,Safari # test all the browsers
- "if [ ${TRAVIS_PULL_REQUEST} = 'false' ]; then ./run_each.sh karma.conf-ci.js; fi" # Run the unit tests
- "if [ ${TRAVIS_PULL_REQUEST} = 'false' ]; then ./node_modules/.bin/lcov-result-merger 'coverage/*.lcov' 'coverage/combined.lcov'; fi" # Merge the coverage results
- "cd .."
- "if [ ${TRAVIS_PULL_REQUEST} = 'false' ]; then cat ./test/coverage/combined.lcov | ./test/node_modules/coveralls/bin/coveralls.js; fi" # Send the coverage results to coveralls
before_script:
- "cd test/ && npm install -g karma-cli && npm install && cd .."
addons:
sauce_connect: true