summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 0e1a54a0e5d4064387e9f9f908f6195b69ec7e78 (plain)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
language: elixir
elixir: 1.7.4
os: linux
dist: trusty

otp_release:
   - 22.0.5
   - 21.2.3
   - 20.3.8.5
   - 19.3

addons:
  apt:
    sources:
      - deadsnakes
    packages:
    - build-essential
    - curl
    - libcurl4-openssl-dev
    - libicu-dev
    - libmozjs185-dev
    - pkg-config
    - python3.6
    - python3.6-dev
    - python3.6-venv
    - python3-requests
    - python3-sphinx
#    - sphinx-rtd-theme
    - help2man
    - shunit2

git:
  depth: 10

# logfile uploader uses requests
cache:
  - pip

# logfile uploader credentials
env:
  global:
    - secure: "UdA/gKIlyuXaW+hUgRx40t1TYjLCGxMqHvM5Uw7UbUH2dqEkgJiLfhZGchS1JVzl8M01VKZUUzS7v2nvRLiHZN1kvaw5kfq31VRoafUah8jfmvqNWZVdLovHl3aw5UX/HRt0RkbWbhdbdknTfh6+YinSZ+Nb54jCErMg9nabXtM="
    - COUCHDB_IO_LOG_DIR=/tmp/couchjslogs

# Enable this block if you want to build docs & fauxton too
#node_js:
#  - 6
#before_script:
#  - ./configure -c

# Then comment this section out
before_script:
  - kerl list installations
  - rm -rf /tmp/couchjslogs
  - mkdir -p /tmp/couchjslogs
  - ./configure -c --disable-docs --disable-fauxton
  - python3.6 -m venv /tmp/.venv
  - source /tmp/.venv/bin/activate
  - pip install requests

script:
   - make check

after_failure:
  - build-aux/logfile-uploader.py

# start a push build on master and release branches + PRs build on every branch
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
branches:
  only:
    - master
    - /^\d+\.x\.x$/
    - /^\d+\.\d+\.x$/

# Re-enable once test suite is reliable
#notifications:
#  email: false
#  irc:
#    channels:
#      "irc.freenode.org#couchdb-dev"
#  on_success: change
#  on_failure: always
#  use_notice: true
#  skip_join: true
#  template:
#    - %{repository_slug}/%{branch}: %{message} %{build_url}"