Sha256: 77e0957cd0d28c5e515db1f85937d1c478074898b929f475e0091aa15b7b4506

Contents?: true

Size: 869 Bytes

Versions: 63

Compression:

Stored size: 869 Bytes

Contents

# Testing `dpl` in the context of Travis CI builds

It is possible to test new deployment provider or new functionality
of dpl when it is used from the Travis CI build script.

To do so, add the following to your `.travis.yml`:

```yaml
deploy:
  provider: X
  edge:
  	source: myown/dpl
    branch: foo
  on:
  	branches: TEST_BRANCH # or all_branches: true
  ⋮ # rest of provider X configuration
```

This builds the `dpl` gem on the VM
from `https://github.com/myown/dpl`, the `foo` branch.
Then it installs the locally built gem,
and uses that to deploy.

Notice that this is not a merge commit, so it is important
that when you are testing your PR, the branch `foo` is up-to-date
with https://github.com/travis-ci/dpl/tree/master/.

When opening a PR, be sure to run at least one deployment with the new configuration,
and provide a link to the build in the PR.

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
dpl-1.8.13.travis.1528.4 TESTING.md
dpl-1.8.15.travis.1336.4 TESTING.md
dpl-1.8.15.travis.1329.4 TESTING.md
dpl-1.8.15.travis.1317.4 TESTING.md
dpl-1.8.14 TESTING.md
dpl-1.8.14.travis.1316.4 TESTING.md
dpl-1.8.14.travis.1314.4 TESTING.md
dpl-1.8.13 TESTING.md
dpl-1.8.13.travis.1313.4 TESTING.md
dpl-1.8.13.travis.1311.4 TESTING.md
dpl-1.8.13.travis.1306.4 TESTING.md
dpl-1.8.13.travis.1301.4 TESTING.md
dpl-1.8.12.travis.1300.4 TESTING.md
dpl-1.8.12 TESTING.md
dpl-1.8.12.travis.1291.4 TESTING.md
dpl-1.8.12.travis.1286.4 TESTING.md
dpl-1.8.12.travis.1283.4 TESTING.md
dpl-1.8.12.travis.1282.4 TESTING.md
dpl-1.8.12.travis.1279.4 TESTING.md
dpl-1.8.12.travis.1272.4 TESTING.md