bump hyper dependency, fix Windows build
[couchdb.git] / .travis.yml
1 language: erlang
2 sudo: false
3
4 os: linux
5 otp_release:
6    - 20.1
7    - 19.3
8    - 18.3
9    - 17.5
10
11 addons:
12   apt:
13     packages:
14     - build-essential
15     - curl
16     - libcurl4-openssl-dev
17     - libicu-dev
18     - libmozjs185-dev
19     - pkg-config
20     - python-requests
21     - python-sphinx
22     - python-virtualenv
23 #    - sphinx-rtd-theme
24     - help2man
25     - shunit2
26
27 python:
28   - "2.7"
29
30 git:
31   depth: 10
32
33 # logfile uploader uses requests
34 cache:
35   - pip
36
37 # logfile uploader credentials
38 env:
39   global:
40     - secure: "UdA/gKIlyuXaW+hUgRx40t1TYjLCGxMqHvM5Uw7UbUH2dqEkgJiLfhZGchS1JVzl8M01VKZUUzS7v2nvRLiHZN1kvaw5kfq31VRoafUah8jfmvqNWZVdLovHl3aw5UX/HRt0RkbWbhdbdknTfh6+YinSZ+Nb54jCErMg9nabXtM="
41     - COUCHDB_IO_LOG_DIR=/tmp/couchjslogs
42
43 # Enable this block if you want to build docs & fauxton too
44 #node_js:
45 #  - 6
46 #before_script:
47 #  - ./configure -c
48
49 # Then comment this section out
50 before_script:
51   - rm -rf /tmp/couchjslogs
52   - mkdir -p /tmp/couchjslogs
53   - ./configure -c --disable-docs --disable-fauxton
54   - cd src/mango
55   - make venv
56   - source venv/bin/activate
57   - make pip-install
58   - cd ../..
59
60 script:
61    - make check
62
63 after_failure:
64   - build-aux/logfile-uploader.py
65
66 # start a push build on master and release branches + PRs build on every branch
67 # Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
68 branches:
69   only:
70     - master
71     - /^\d+\.x\.x$/
72     - /^\d+\.\d+\.x$/
73
74 # Re-enable once test suite is reliable
75 #notifications:
76 #  email: false
77 #  irc:
78 #    channels:
79 #      "irc.freenode.org#couchdb-dev"
80 #  on_success: change
81 #  on_failure: always
82 #  use_notice: true
83 #  skip_join: true
84 #  template:
85 #    - %{repository_slug}/%{branch}: %{message} %{build_url}"