forked from uwcse440/web-cse440-wi17
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml.in
41 lines (32 loc) · 1.04 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
40
41
{# 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 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
# Install Ruby
- rvm install {{ local.ruby.version }}
- rvm @global do gem install bundler -v {{ local.ruby.bundler_version }}
- |
bundler_uninstall=$( rvm @global do gem list ^bundler$ -i -v "!={{ local.ruby.bundler_version }}" )
if [ "$bundler_uninstall" == "true" ]
then
rvm @global do gem uninstall bundler -v "!={{ local.ruby.bundler_version }}"
fi
- rvm use {{ local.ruby.version }} --default
# Invoke will get our other dependencies
- invoke update_dependencies
script:
- nosetests
{# This comment gives us a newline at the end of the generated file #}