Skip to content

Commit

Permalink
Version bump, travisci fix, docs (#70)
Browse files Browse the repository at this point in the history
* trigger missed ONMODMAP event

* fix broken travis config

* version bump

* update docs
  • Loading branch information
vasyahuyasa authored Jan 18, 2021
1 parent 2281b10 commit 7ad5cd6
Show file tree
Hide file tree
Showing 3 changed files with 214 additions and 267 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
language: cpp
language: c
git:
submodules: true
sudo: required
services: docker
env:
Expand All @@ -15,13 +17,14 @@ compiler:
script:
- cd src && make && make clean

docker_build:
before_deploy:
- docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD
- cd ..
- docker build --pull --cache-from "${IMAGE_NAME}:latest" -t "${IMAGE_NAME}:latest" -t "${IMAGE_NAME}:${TRAVIS_TAG}" .
- docker build --pull --cache-from "$IMAGE_NAME:latest" --tag "${IMAGE_NAME}:${TRAVIS_TAG}" .
- docker tag "${IMAGE_NAME}:${TRAVIS_TAG}" "${IMAGE_NAME}:latest"

docker_push_to_registry:
deploy:
provider: script
script: docker push "${IMAGE_NAME}:latest" && docker push "${IMAGE_NAME}:${TRAVIS_TAG}"
on:
tags: true
tags: true
Loading

0 comments on commit 7ad5cd6

Please sign in to comment.