From 17d369a017cf3f4e6d9bf67700323adb564f9bc0 Mon Sep 17 00:00:00 2001 From: Jenny Schweers Date: Tue, 17 Sep 2024 11:40:22 -0400 Subject: [PATCH] Removed .travis.yml --- .travis.yml | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 46279a9043..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,43 +0,0 @@ ---- -sudo: required -language: python -python: - - "3.6" -# setup for bats test -#before_install: -# - git clone https://github.com/sstephenson/bats.git -# - cd bats -# - git checkout v0.4.0 -# - sudo ./install.sh /usr/local -# - cd - -install: - - pip install -r requirements.txt - - pip install -r test-requirements.txt -before_script: - - docker build -t couchdb-cluster - < docker-couchdb-cluster/Dockerfile - - "docker run -d --name couchdb-cluster \ - -p 15984:15984 \ - -p 15986:15986 \ - -p 25984:25984 \ - -p 25986:25986 \ - -p 35984:35984 \ - -p 35986:35986 \ - -p 45984:45984 \ - -p 45986:45986 \ - -v $(pwd)/data:/usr/src/couchdb/dev/lib/ \ - -t couchdb-cluster \ - --with-admin-party-please \ - -n 4" - - | - while : - do - curl http://localhost:15984/${db_name} -sv 2>&1 | grep '^< HTTP/.* 200 OK' && break || continue - sleep 1 - done -script: - - py.test tests.py - # Flaky test, needs to be fixed. Ideally it would be rewritten in Python, - # possibly using sh (https://pypi.org/project/sh/) and requests or pycurl. - #- bats test -services: - - docker