Skip to content

Commit 9bd1166

Browse files
committed
creating redbiom context
1 parent cc5afbb commit 9bd1166

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: python
2-
sudo: required
2+
sudo: false
33
env:
44
global:
55
- PYTHON_VERSION=2.7
@@ -36,7 +36,7 @@ install:
3636
- popd
3737
- travis_retry pip install . --process-dependency-links
3838
before_script:
39-
- sudo redis-server /etc/redis/redis.conf --port 7777
39+
- redis-server /etc/redis/redis.conf --port 7777 &
4040
- export MOI_CONFIG_FP=`pwd`/qiita_core/support_files/config_test.cfg
4141
- if [ ${TRAVIS_PULL_REQUEST} == "false" ]; then
4242
export QIITA_CONFIG_FP=`pwd`/qiita_core/support_files/config_test_travis.cfg;
@@ -46,6 +46,9 @@ before_script:
4646
- qiita-env start_cluster qiita-general
4747
- qiita-env make --no-load-ontologies
4848
# 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"
4952
- fp=`python -c 'import qiita_db; print qiita_db.__file__'`
5053
- qdbd=`dirname $fp`;
5154
- redbiom admin load-sample-metadata --metadata ${qdbd}/support_files/test_data/templates/1_19700101-000000.txt

0 commit comments

Comments
 (0)