Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Move travis example further down
Browse files Browse the repository at this point in the history
Travis is not very relevant any more.
  • Loading branch information
WhyNotHugo committed Feb 10, 2023
1 parent 5990e63 commit c85ec52
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,6 @@ used by packagers, both via CI, and on non-ArchLinux environments.
The package can be saved to the current director by adding `-e EXPORT_PKG=1`,
and the updated .SRCINFO file for the built package with `-e EXPORT_SRC=1`.

Usage with travis
-----------------

Generally, this should be enough:

```yaml
sudo: required

services:
- docker

script:
- docker run -v $TRAVIS_BUILD_DIR:/pkg whynothugo/makepkg
```
Usage locally
-------------

Expand All @@ -47,6 +32,21 @@ docker run -e EXPORT_SRC=1 -v $PWD:/pkg whynothugo/makepkg
If you are running Arch, you can share the mirror list from your host by adding
`-v /etc/pacman.d/mirrorlist:/etc/pacman.d/mirrorlist:ro`.

Usage with travis
-----------------

Generally, this should be enough:

```yaml
sudo: required

services:
- docker

script:
- docker run -v $TRAVIS_BUILD_DIR:/pkg whynothugo/makepkg
```
Usage with GitLab CI
--------------------
Expand Down

0 comments on commit c85ec52

Please sign in to comment.