Browse Source

fixes setup steps for Travis CI

Damien ACCORSI 10 years ago
parent
commit
cd0bc71c87
2 changed files with 4 additions and 3 deletions
  1. 4 2
      .travis.yml
  2. 0 1
      install/requirements.txt

+ 4 - 2
.travis.yml View File

@@ -8,9 +8,11 @@ addons:
8 8
   postgresql: "9.3"
9 9
 
10 10
 # command to install dependencies
11
+# Note: there's an echo at the end of pip install. It allows to override the default return code which is not 0
12
+# because some packages need to be ugraded to python3 (invalid python syntax because of python2 source code)
11 13
 install:
12
-  - "cd tracim && python setup.py develop && cd -"
13
-  - "pip install -r install/requirements.txt"
14
+  - "cd tracim && python setup.py develop; cd -"
15
+  - "pip install -r install/requirements.txt; echo"
14 16
   - "./bin/tg2env-patch tg2env/"
15 17
   
16 18
 before_script:

+ 0 - 1
install/requirements.txt View File

@@ -20,7 +20,6 @@ cmd2==0.6.7
20 20
 coverage==4.0a1
21 21
 crank==0.7.1
22 22
 decorator==3.4.0
23
-distribute==0.7.3
24 23
 gearbox==0.0.6
25 24
 itsdangerous==0.24
26 25
 nose==1.3.4