aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-02-17 02:11:31 +0100
committerMax Magorsch <arzano@gentoo.org>2020-02-17 02:11:31 +0100
commit942b9e5d5c142ac5172e1210e2cc724c06021eaa (patch)
treeb752cb9d1615ff7c4f6a88ddd35f9d31b76d9077
parentMerge branch 'dev/main' (diff)
downloadpackages-5-942b9e5d5c142ac5172e1210e2cc724c06021eaa.tar.gz
packages-5-942b9e5d5c142ac5172e1210e2cc724c06021eaa.tar.bz2
packages-5-942b9e5d5c142ac5172e1210e2cc724c06021eaa.zip
Remove travis
Travis isn't used any longer for this project. Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rw-r--r--.travis.yml5
-rw-r--r--.travis/travis.docker.yml23
-rw-r--r--.travis/travis.yml55
-rw-r--r--README.md4
4 files changed, 0 insertions, 87 deletions
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index b3b6d1e..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-import:
- - source: .travis/travis.yml
- if: branch = master
-# - source: .travis/travis.docker.yml
-# if: branch = dev/main
diff --git a/.travis/travis.docker.yml b/.travis/travis.docker.yml
deleted file mode 100644
index 287e676..0000000
--- a/.travis/travis.docker.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-language: generic
-
-services:
- - docker
-
-env:
- - DOCKER_CLIENT_TIMEOUT=120 COMPOSE_HTTP_TIMEOUT=120
-
-before_install:
- # TODO Upload the image to the official gentoo account and get rid of the mmagorsc account
- - docker pull mmagorsc/gentoo-rails:latest && docker tag mmagorsc/gentoo-rails:latest gentoo/rails:latest
- - docker build -t gentoo/gpackages:latest .
-
-script:
- # Run tests using the prebuild image
- - docker-compose -f docker-compose.test.yml up --exit-code-from http-serving
- ## TODO Use either DockerHub or Github Packages and uncomment this block afterwards
- ## Publish on DockerHub
- #- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- ## Publish on Github Packages
- #- docker login -u $DOCKER_USERNAME -p $DOCKER_TOKEN docker.pkg.github.com
- #- docker push gentoo/gpackages:latest
- #- echo "Published docker image"
diff --git a/.travis/travis.yml b/.travis/travis.yml
deleted file mode 100644
index 9330a58..0000000
--- a/.travis/travis.yml
+++ /dev/null
@@ -1,55 +0,0 @@
-language: ruby
-dist: bionic
-cache: bundler
-rvm:
- - 2.5.7
-
-gemfiles:
- - Gemfile
- - Gemfile.ci # rails 5
-
-branches:
- only:
- - master
-
-services:
- - elasticsearch
- - redis-server
-
-before_install:
- # Specifically target older Bundler
- - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- - gem install bundler -v '< 2'
- # https://docs.travis-ci.com/user/database-setup/#elasticsearch
- - curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.5.1-amd64.deb
- # Verify checksum
- - echo e566a88e15d8f85cf793c8f971b51eeae6465a0aa73f968ae4b1ee6aa71e4c20 elasticsearch-7.5.1-amd64.deb | sha256sum -c
- # Stop before install
- - sudo service elasticsearch stop
- # Install
- - sudo dpkg -i --force-confnew elasticsearch-7.5.1-amd64.deb
- # Fix permissions from install
- - sudo chmod 0644 /etc/default/elasticsearch
- # Shave startup time
- - echo ES_STARTUP_SLEEP_TIME=1 | sudo tee -a /etc/default/elasticsearch >/dev/null
- # Start up again or fail
- - sudo service elasticsearch start && sudo service elasticsearch status || ( sudo journalctl -xe ; exit 1 )
-
-before_script:
- - cp config/secrets.yml.dist config/secrets.yml
- - cp config/initializers/kkuleomi_config.rb.test config/initializers/kkuleomi_config.rb
- # Wait for Elasticsearch
- # If it starts up in less than 10 seconds, this wins!
- - curl --retry-delay 1 --retry-connrefused --retry 10 --connect-timeout 1 --max-time 15 -o - 'http://127.0.0.1:9200/_cat/health?format=json&v&pretty'
-
-script:
- # This code needs style improvements before higher strictness in lint.
- - bundle exec rubocop --fail-level E
- # Steps from bin/test.sh
- - bundle exec rake tmp:create RAILS_ENV=test
- - bundle exec rake assets:precompile RAILS_ENV=test
- - bundle exec rake kkuleomi:index:init RAILS_ENV=test
- - bundle exec rake kkuleomi:update:all RAILS_ENV=test
- - bundle exec rake test test/ RAILS_ENV=test
-
-# vim:ft=yaml et ts=2 sts=2 sw=2: \ No newline at end of file
diff --git a/README.md b/README.md
index c42d319..8134b89 100644
--- a/README.md
+++ b/README.md
@@ -3,10 +3,6 @@
This is the code that powers [packages.gentoo.org](https://packages.gentoo.org/),
internally codenamed kkuleomi/꾸러미 which is Korean for package (who would have thought!)
-## Build status
-
-[![Travis-CI Build Status](https://travis-ci.org/gentoo/gpackages.svg?branch=master)](https://travis-ci.org/gentoo/gpackages)
-
## Installation instructions
```shell script