File: .travis.yml

package info (click to toggle)
python-pysolr 3.8.1-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 312 kB
  • sloc: python: 1,704; sh: 166; makefile: 9
file content (40 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (2)
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
sudo: false
language: python
python:
    - "2.7"
    - "3.3"
    - "3.4"
    - "3.5"
    - "3.6"
    - "pypy"

cache:
  apt: true
  pip: true
  directories:
      - $HOME/download-cache

env:
    - SOLRCLOUD=false
    - SOLRCLOUD=true

matrix:
    allow_failures:
        - python: 'pypy'

addons:
  apt_packages:
    - default-jdk

install:
    - "pip install 'requests>2'"
    - "pip install ."
    - 'if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then travis_retry pip install faulthandler; fi'
    - 'if [[ "${SOLRCLOUD:-false}" == "true" ]]; then pip install -e .[solrcloud]; fi'

script:
    - python run-tests.py

notifications:
    # irc: "irc.freenode.org#pysolr"
    email: false