2017-05-24 19:29:30 +02:00
|
|
|
language: go
|
Makeify more; add a "full build" target (#193)
* Makeify more; add a "full build" target
This change uses make for more of our tree. Namely, the AWS provider
and LumiJS compilers each now use make to build and/or install them.
Not only does this bring about some consistency to how we build and
test things, but also made it easy to add a full build target:
$ make all
This target will build, test, and install the core Go tools, the LumiJS
compiler, and the AWS provider, in that order.
Each can be made in isolation, however, which ensures that the inner
loop for those is fast and so that, when it comes to finishing
pulumi/lumi#147, we can easily split them out and make from the top.
2017-06-02 23:26:34 +02:00
|
|
|
go: 1.8.2
|
2017-06-23 02:56:45 +02:00
|
|
|
sudo: true # give us 7.5GB and >2 bursted cores.
|
2017-05-24 19:29:30 +02:00
|
|
|
before_install:
|
Makeify more; add a "full build" target (#193)
* Makeify more; add a "full build" target
This change uses make for more of our tree. Namely, the AWS provider
and LumiJS compilers each now use make to build and/or install them.
Not only does this bring about some consistency to how we build and
test things, but also made it easy to add a full build target:
$ make all
This target will build, test, and install the core Go tools, the LumiJS
compiler, and the AWS provider, in that order.
Each can be made in isolation, however, which ensures that the inner
loop for those is fast and so that, when it comes to finishing
pulumi/lumi#147, we can easily split them out and make from the top.
2017-06-02 23:26:34 +02:00
|
|
|
# GoDep for Go dependency management.
|
2017-05-24 20:05:20 +02:00
|
|
|
- go get -v github.com/tools/godep
|
2017-06-21 23:23:48 +02:00
|
|
|
# Gometalinter for good Go linting/hygiene.
|
|
|
|
- go get -v github.com/alecthomas/gometalinter
|
|
|
|
- gometalinter --install
|
2017-06-24 00:11:20 +02:00
|
|
|
# gocovmerge for Go code coverage.
|
|
|
|
- go get -v github.com/wadey/gocovmerge
|
Makeify more; add a "full build" target (#193)
* Makeify more; add a "full build" target
This change uses make for more of our tree. Namely, the AWS provider
and LumiJS compilers each now use make to build and/or install them.
Not only does this bring about some consistency to how we build and
test things, but also made it easy to add a full build target:
$ make all
This target will build, test, and install the core Go tools, the LumiJS
compiler, and the AWS provider, in that order.
Each can be made in isolation, however, which ensures that the inner
loop for those is fast and so that, when it comes to finishing
pulumi/lumi#147, we can easily split them out and make from the top.
2017-06-02 23:26:34 +02:00
|
|
|
# Node.js 7.x for LumiJS and associated JS code.
|
|
|
|
- nvm install v7
|
|
|
|
# Install Yarn as per https://yarnpkg.com/lang/en/docs/install-ci/#travis-tab.
|
|
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.24.6
|
|
|
|
- export PATH=$HOME/.yarn/bin:$PATH
|
|
|
|
cache:
|
|
|
|
yarn: true
|
2017-05-24 20:03:15 +02:00
|
|
|
install:
|
2017-05-24 20:07:26 +02:00
|
|
|
- godep restore -v
|
2017-06-02 23:50:35 +02:00
|
|
|
- pushd cmd/lumijs/ && yarn install && popd
|
|
|
|
- pushd lib/lumi/ && yarn install && popd
|
|
|
|
- pushd lib/aws/pack/ && yarn install && popd
|
Makeify more; add a "full build" target (#193)
* Makeify more; add a "full build" target
This change uses make for more of our tree. Namely, the AWS provider
and LumiJS compilers each now use make to build and/or install them.
Not only does this bring about some consistency to how we build and
test things, but also made it easy to add a full build target:
$ make all
This target will build, test, and install the core Go tools, the LumiJS
compiler, and the AWS provider, in that order.
Each can be made in isolation, however, which ensures that the inner
loop for those is fast and so that, when it comes to finishing
pulumi/lumi#147, we can easily split them out and make from the top.
2017-06-02 23:26:34 +02:00
|
|
|
before_script:
|
|
|
|
- export PATH=$TRAVIS_BUILD_DIR/cmd/lumijs:$PATH
|
2017-06-02 23:50:35 +02:00
|
|
|
- export LUMIROOT=~/.lumi
|
2017-06-16 18:50:56 +02:00
|
|
|
script:
|
2017-06-18 00:43:50 +02:00
|
|
|
- if [ $TRAVIS_EVENT_TYPE = "cron" ]; then make nightly; else make all; fi
|
2017-05-25 16:36:17 +02:00
|
|
|
notifications:
|
|
|
|
slack:
|
|
|
|
secure: tPhYdqclnOhFTiKhLn0EqY4/UhJ30c3SFRKHTMPYFfYflCQOyrIARYrzlm+oEOBISw/oNP0wR1LxawhLC2KfDb0ST9Zph8wKyQ8dujk9jXGACuuRic1n/IU9yiu2grZQqcwlieLN6IvGvK+736D2ZxhcjUF5ZwORkpe9jl+nr65NzWH5H+pr4jVWXvYddB2gJ/49i+COydfbaRJ+6O3JORqmSP2VA4CtrArl0L/uDT0osvBwJkeoTSzKjkPWZUwI3ZlGOCSGe+6i5hto6WOzUnU74UgNVZ6dCUOKJrmu146DDzTYB7g4xTkiBi8W5jEo7E6PRqAA6/zGGzUp0J8AMmKcrYnmBf3ALaAIzwiQAFwn9m4V3cKEnnfwzN+SrrmrA3KpwWuj2PNS0UEaxFr35Lb7NNORibmBJi5gj9q138C+b9uD5MQ3poq0PpXG+ZPYTQU1QZODsxcHpR3OyyI89OXBugrP9CTcYpknUgPmiAJgOQn+7H+Xcmme3CB9G5292hC5McZZtyxUAoNwAtg316bXSWWH9MkFRmjTWt7lRGZZ99T1TO/iG0DntyCWxy8lHIbYvCdbY5oTN3WMN93NFrmFMiZJcmmV79meMe/6LNLWVIWVaTXZSpS8IflRmVFp1twveSh4i1+mogh8CsMs2Lqp2Ca7HdakLtRBxHzcH/4=
|