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

Defining environment variables in .travis.yml #20

Open
SamVerschueren opened this issue Oct 21, 2015 · 6 comments
Open

Defining environment variables in .travis.yml #20

SamVerschueren opened this issue Oct 21, 2015 · 6 comments

Comments

@SamVerschueren
Copy link
Collaborator

As documented here.

I would start simple and implement the basics first.

language: 'node_js'
env:
  - FOO=foo BAR=bar
  - FOO=bar BAR=foo
node_js:
  - 'stable'
  - '0.12'

This will run the following containers

  • Node (stable) with FOO=foo BAR=bar
  • Node (stable) with FOO=bar BAR=foo
  • Node 0.12 with FOO=foo BAR=bar
  • Node 0.12 with FOO=bar BAR=foo

Later on, things like the matrix can be implemented.

@vadimdemedes
Copy link
Owner

This is a good suggestion indeed. The only reason I did not implement this yet, because it involves creating a matrix (which has to be tested really good).

I am thinking one of the next steps we need to take is to write tests, because things are getting interesting :)

@SamVerschueren
Copy link
Collaborator Author

Yes I was thinking in terms of testing as well. Definetely the next step, even before implementing the services part.

@sindresorhus
Copy link

Soon you can just start your own Travis-like SaaS, just better. Trevor CI ;)

@vadimdemedes
Copy link
Owner

Haha, I should!

@SamVerschueren
Copy link
Collaborator Author

Sure, why not :)

@cades
Copy link

cades commented Dec 29, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants