summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml17
1 files changed, 14 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 2d994e34..ea4fbcfe 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,9 @@ before_install:
- chmod +x docker-build gen-index
install:
- - pip3 install PyGithub
+ - sudo apt-get install -y python3-pip python3-setuptools
+ - sudo pip3 install --upgrade pip
+ - sudo pip3 install PyGithub
- ./docker-build --name ${DISTRO} --config .build.yml --install
script:
@@ -37,9 +39,17 @@ notifications:
on_success: never
on_failure: always
+before_deploy:
+ - yes | gem update --system --force
+ - gem install bundler
+ - gem install faraday-net_http -v '3.3.0' # Avoid faraday version problem
+ - gem install uri
+ - gem install logger
+
deploy:
- provider: pages
- edge: true
+ edge:
+ branch: v2.0.5
token: $GITHUB_TOKEN
keep_history: false
committer_from_gh: true
@@ -50,7 +60,8 @@ deploy:
all_branches: true
condition: ${DISTRO} =~ ^fedora.*$
- provider: script
- edge: true
+ edge:
+ branch: v2.0.5
script: ./docker-build --verbose --config .build.yml --release github
on:
tags: true