-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy path.travis.yml
More file actions
29 lines (25 loc) · 711 Bytes
/
.travis.yml
File metadata and controls
29 lines (25 loc) · 711 Bytes
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
language: python
python:
- "2.7"
- "3.5"
- "3.7"
- "3.8"
env:
- DJANGO_VERSION=1.7.8
- DJANGO_VERSION=1.8.1
- DJANGO_VERSION=2.2.16
- DJANGO_VERSION=3.1.1
- DJANGO_VERSION=1.8.19
install:
# Install node 6 (current LTS as of January 2017)
- "rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 6"
# Install latest npm
- "npm install -g npm"
# Install node deps for render server
- "cd tests"
- "npm install"
- "cd .."
# Setup python packages
- "pip install Django==$DJANGO_VERSION"
- "pip install -r requirements.txt"
script: python runtests.py