forked from aws/aws-lambda-builders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (39 loc) · 1.14 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Enable container based builds
sudo: false
language: python
python:
- "2.7"
- "3.6"
# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
install:
# To run Nodejs workflow integ tests
- nvm install 8.10.0
- nvm use 8.10.0
# To run Ruby workflow integ tests
- rvm install ruby-2.5.3
- rvm use ruby-2.5.3
# Go workflow integ tests require Go 1.11+
- eval "$(gimme 1.11.2)"
- go version
- go get -u github.com/golang/dep/cmd/dep
# Install .NET Core 2.1
- export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1 DOTNET_CLI_TELEMETRY_OPTOUT=1
- if [ "$LINUX" ]; then sudo apt install libunwind8; fi
- wget https://dot.net/v1/dotnet-install.sh -O /tmp/dotnet-install.sh
- chmod +x /tmp/dotnet-install.sh
- /tmp/dotnet-install.sh -v 2.1.504
- export DOTNET_ROOT=/home/travis/.dotnet
- export PATH=/home/travis/.dotnet:/home/travis/.dotnet/tools:$PATH
- dotnet --info
# Install the code requirements
- make init
script:
# Runs unit tests
- make pr
- make test
- LAMBDA_BUILDERS_DEV=1 travis_wait pytest -vv tests/integration