Sha256: 96fa588430ca958372f23399e747f60f5a158c3b8bab0273a3d6ca4c5958119b

Contents?: true

Size: 869 Bytes

Versions: 114

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:
    branch: 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

114 entries across 114 versions & 2 rubygems

Version Path
dpl-1.9.6.travis.2785.5 .github/CONTRIBUTING.md
dpl-1.9.5.travis.2783.5 .github/CONTRIBUTING.md
dpl-1.9.5 .github/CONTRIBUTING.md
dpl-1.9.5.travis.2781.5 .github/CONTRIBUTING.md
dpl-1.9.5.travis.2782.5 .github/CONTRIBUTING.md
dpl-1.9.5.travis.2775.5 .github/CONTRIBUTING.md
dpl-1.9.4.travis.2773.5 .github/CONTRIBUTING.md
dpl-1.9.4 .github/CONTRIBUTING.md
dpl-1.9.4.travis.2768.5 .github/CONTRIBUTING.md
dpl-1.9.3 .github/CONTRIBUTING.md
dpl-1.9.4.travis.2766.5 .github/CONTRIBUTING.md
dpl-1.9.2.travis.2764.5 .github/CONTRIBUTING.md
dpl-1.9.2 .github/CONTRIBUTING.md
dpl-1.9.2.travis.2763.5 .github/CONTRIBUTING.md
dpl-1.9.2.travis.2762.5 .github/CONTRIBUTING.md
dpl-1.9.2.travis.2750.5 .github/CONTRIBUTING.md
dpl-1.9.2.travis.2749.5 .github/CONTRIBUTING.md
dpl-1.9.2.travis.2748.5 .github/CONTRIBUTING.md
dpl-1.9.2.travis.2737.5 .github/CONTRIBUTING.md
dpl-1.9.2.travis.2725.5 .github/CONTRIBUTING.md