forked from uwdub/web-dub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml.in
39 lines (30 loc) · 1 KB
/
.travis.yml.in
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
{# This file compiles to .travis.yml -#}
# This file compiled from .travis.yml.in
sudo: false
language: python
python:
- "{{ local.python.version }}"
cache:
pip: true
directories:
- node_modules
- /home/travis/.rvm/gems
install:
# Install Ruby
- rvm install {{ local.ruby.version }}
- rvm @global do gem install bundler -v {{ local.ruby.bundler_version }}
- rvm @global do gem query --local
- rvm @global do gem list ^bundler$ -i -v "!={{ local.ruby.bundler_version }}" &&
rvm @global do gem uninstall bundler -v "!={{ local.ruby.bundler_version }}" ||
true
- rvm use {{ local.ruby.version }} --default
# Install NodeJS
- nvm install {{ local.node.version }}
# Install Python dependencies
- python -m pip install --upgrade pip=={{ local.python.pip_version }}
- python -m pip install -r requirements3.txt
# Invoke will get our other dependencies
- invoke update_dependencies
script:
- nosetests
{# This comment gives us a newline at the end of the generated file #}