File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
- sudo : required
2
+ sudo : false
3
3
env :
4
4
global :
5
5
- PYTHON_VERSION=2.7
@@ -36,7 +36,7 @@ install:
36
36
- popd
37
37
- travis_retry pip install . --process-dependency-links
38
38
before_script :
39
- - sudo redis-server /etc/redis/redis.conf --port 7777
39
+ - redis-server /etc/redis/redis.conf --port 7777 &
40
40
- export MOI_CONFIG_FP=`pwd`/qiita_core/support_files/config_test.cfg
41
41
- if [ ${TRAVIS_PULL_REQUEST} == "false" ]; then
42
42
export QIITA_CONFIG_FP=`pwd`/qiita_core/support_files/config_test_travis.cfg;
@@ -46,6 +46,9 @@ before_script:
46
46
- qiita-env start_cluster qiita-general
47
47
- qiita-env make --no-load-ontologies
48
48
# loading redbiom with Qiita's test set
49
+ # first let's make sure redis is empty
50
+ - curl -s http://127.0.0.1:7379/FLUSHALL > /dev/null
51
+ - redbiom admin create-context --name "qiita-test" --description "qiita-test context"
49
52
- fp=`python -c 'import qiita_db; print qiita_db.__file__'`
50
53
- qdbd=`dirname $fp`;
51
54
- redbiom admin load-sample-metadata --metadata ${qdbd}/support_files/test_data/templates/1_19700101-000000.txt
You can’t perform that action at this time.
0 commit comments