-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy path.travis.yml
29 lines (23 loc) · 2.6 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
language: bash
sudo: required
env:
global:
- secure: "tJ8w+API6tv7Yqg6wnyRPBxMNwrZQURrYsMAyJ7dsr+M0ssGKPiQsy83ccIvDDibEYXk/5OXonjRzsyCJqqzkXYbkQD9voeTEdqec1AT8UikquzvEZCG33Sqg3oUEuAD44nPNkUTx+OqVnTfrfstc6x+fXDUf96F9pC3J4O9tvJulCC7eIhQq98Vxp4KDhQHsKWCKxYEnXZfKMExLoUFNKbGJxOJLgYtb+S4wxxolvYOkcE7OtTXpCcqWymSyAdjtUGn5TmK3DD3PIqDVT/y4CUPSZJunaHpwE4U8JHpDAGuKwUgRodveS2p9deANBeKkmv+aKSrjgO19OELObqQ9zmPWix9TlWPTg1j197g0+LC+aPkbw/B7hqyjJW/CrqScPu6duu+KYBsYKU3/Z5C9WpO4AlonJSHomWXRMbtcAXe2GLI6Rym1nIvp6WrhR/5RjA4nKnc6/D+dbWS4czncLl3ReRJwVYw+2qVV6wFSYR/1nAKAY2FMXntFeNdHNd47FTg0Po3X0v26Zeir/oAZeVH3OD0WR3Uhv8o9Qir5HL3SMmKxzMNEVbqIzSZVFOZGobtjEWX6ljCI0PZwyLHOwDeUa3LRCsYTeI4KNrinSiE7q4nhhKRLHeJq0wnOPEQiQ8RiHhlBfNI0WR5UG2mkqTNf8Nv5DNhHbNclN5aot0=" # DOCKER_USER
- secure: "iLt6yiQiNWDtloDUEUl3yK3y9GkcY5763AuzcizmksBNny3ioFUYYfNkKJrHSOLi+K/Lme9Mv4sMiZyFv2bIlZRhKWakA3MaWzPp6POSFl3Fd9Z8aNvDzT7p11HWgcZZUx6urtvbIyeXFCaOOKTt3S7g1AU5hbRj/MdYlCVh8hk8FIAImqzzcMVm5571j7zeC43VSF5Ggpk93yECP3G59ANrPXo8hHH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UPJ9l1to4bC0aN8gZdl5jIE18vjUlpu8fJ99ZzB9OofSlK57wn+myRTfOyJPwoBLvNmXu7A/8209Mm5+s6g3c=" # DOCKER_EMAIL
branches:
only:
- master
services:
- docker
before_script:
script:
- bash ./unifi/mock_test.sh
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- export REPO=$DOCKER_USER/ubiquiti-docker
- make -C unifi build
- 'if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then make -C unifi release; fi'
- bash ./unifi-video/mock_test.sh
- make -C unifi-video build
- 'if [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then make -C unifi-video release; fi'
after_success: