forked from mozilla/dxr
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
43 lines (35 loc) · 1.23 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
sudo: required
# Keep the sliding forward of the ci branch from triggering another build:
branches:
except:
- ci
# We don't use these facilities, but they're lightweight:
language: C
services:
- docker
before_install:
# Normalize ownership UIDs between host and container so container can write:
- sudo chown -R 1000 .
- make docker_es
script:
- docker-compose -f tooling/docker/docker-compose.yml run -e DXR_PROD=1 dev make lint test
notifications:
email: false
irc:
channels:
- "irc.mozilla.org#static"
template:
- "[%{repository_name} %{branch} %{result}] \"%{commit_subject}\" by %{author}"
- "Changes: %{compare_url}"
- "Build details: %{build_url}"
deploy:
provider: script
script: tooling/travis_passed.sh
on:
branch: master
skip_cleanup: true
env:
global:
- GH_REF: github.com/mozilla/dxr.git
- secure: "ZaFYROXPqDRTb9iPK196ar5rOHDIcOw7xD7kV0bbXMAaJZv7T7TmQQ9gRso/qwwAeOKO4IRi9iGRDQU5yqZ4hy6FbVXUV6AXI3QXbm0X+qd38kboXzwfbpwfRpZRj5CmzZ32wo3w4jtB7OSzX6OvP+7J5YHRoRwTj30JLhLrXfk="
- secure: "GJmoBLzDTezl03i9+79zw2jJ7cD3jZGsbSDo7NezqEezC2B6wyJFVbOT5unL7FOAmOOU+tXNCQmBFZsInyPQ1Ps4D0I1+IVjvfQRSiHYGNrfc6xNh3h5n55TLff2bJ9jxPuiLZRY/xt1LFqQVhrqpNLizwUyy3AFIi3+xpl18Tc="