Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds example .travis.yml file for Elixir projects. #37

Merged
merged 1 commit into from
Feb 19, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 33 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,13 @@ Our ***quick guide*** to **Travis CI** (*Continuous Integration*) for ***complet
2. [Add environment Variables in the Web Interface](#environment-variables-web-interface)
3. [Secure (Encrypted) Environment Variables](#environment-variables-secured)
5. [Elm Lang](#elm-lang)
6. [Install Travis-CLI on Ubuntu](#install-travis-cli-on-ubuntu)
7. [Going further](#going-further)
6. [Elixir](#elixir-lang)
7. [Install Travis-CLI on Ubuntu](#install-travis-cli-on-ubuntu)
8. [Going further](#going-further)
1. [General CI Background Reading](#general-ci)
2. [Travis Specific](#travis-specific)
3. [Competitors](#competitors)
8. [TODO](#todo)
9. [TODO](#todo)

<a name="why"></a>
## Why?
Expand Down Expand Up @@ -365,16 +366,43 @@ Paste this in your `.travis.yml` file, commit and push it to GitHub!

@dwyl we use (_and **highly recommend**_) Elm.

> If you are new to Elm please see: https://github.com/dwyl/learn-elm
> If you are new to Elm please see:
[https://github.com/dwyl/**learn-elm**](https://github.com/dwyl/learn-elm)

If you need a sample `.travis.yml` file for use with Elm projects,
If you need a _sample_ `.travis.yml` file for use with Elm projects,
please see: https://github.com/nelsonic/photo-groove/blob/master/.travis.yml

For more detail see our issue investigating this:
https://github.com/dwyl/learn-travis/issues/31
(_we looked at several prominent Elm projects to distil the config/script_)


<a name="elixir-lang"></a>
## Elixir-lang Project

@dwyl we use (_and **highly recommend**_) Elixir for Server-side Applications.

> If you are new to Elixir please see:
[https://github.com/dwyl/**learn-elixir**](https://github.com/dwyl/learn-elixir)

To get started, an Elixir project only needs the following lines
in `.travis.yml` file:

```yml
language: elixir
elixir:
- 1.6
env:
- MIX_ENV=test
script:
- mix test
```

If you need a "_real world example_" `.travis.yml` file
for use with Elixir projects, please see:
https://github.com/dwyl/hits-elixir/blob/master/.travis.yml


<a name="install-travis-cli-on-ubuntu"></a>
## Install Travis-CLI on Ubuntu

Expand Down