~sirn/fanboi2

ref: 7405b34d433eb78fb98c42fddf1791f746a71716 fanboi2/.travis.yml -rw-r--r-- 650 bytes
7405b34dKridsada Thanabulpong Make Travis test passed again. 6 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: python
script: nosetests

python:
  - "3.2"
  - "pypy3"

# PyPy is trying to create a ctype_config_cache, but the directory is not
# writeable. This is a hacky workaround to make it work.
before_install:
  - 'sudo bash -c "if test -n \"\$(shopt -s nullglob; echo /opt/python/pypy3-*)\"; then cd /opt/python/pypy3-*/lib_pypy/ && mkdir -p ctypes_config_cache/__pycache__ && chmod a+x ctypes_config_cache/__pycache__; fi"'

install:
  - 'pip install -e .'

before_script:
  - 'psql -c "create database fanboi2;" -U postgres'

env:
  - POSTGRESQL_TEST_DATABASE=postgresql+pg8000://postgres@localhost:5432/fanboi2

notifications:
  email: false