Generate PLTs on Travis infrastructure, then upload to S3
Elixir
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
plts
.gitignore
.travis.yml
README.md
mix.exs

README.md

Travis Elixir PLT Generator

Generate PLTs for your Elixir project, so you can run Dialyzer on Travis without slowing your builds.

Unless you have specific requirements, you should use these prebuilt PLTs over here: https://github.com/danielberkompas/travis_elixir_plts

Settings

By default, the PLTs are generated by dialyxir, and are compiled with the following apps:

  • erts
  • kernel
  • stdlib
  • crypto
  • public_key
  • elixir

The apps to be compiled can be customized in mix.exs, following dialyxir's instructions.

Usage

You must have an Amazon S3 account with a valid bucket name. Make sure that the bucket was created in the "US East (N. Virginia)" region, or you'll encounter errors.

  1. Fork this repository.
  2. Set the following ENV vars for your fork on Travis:
ARTIFACTS_KEY=<AWS S3 Access Key>
ARTIFACTS_SECRET=<AWS S3 Access Secret>
ARTIFACTS_BUCKET=<AWS S3 Bucket Name>
  1. Enable builds for your fork on Travis.
  2. Watch your PLTs flow into a travis_elixir_plts folder in your bucket.

You can build for different combinations of Elixir and OTP by editing the .travis.yml file.