forked from snowflakedb/libsnowflakeclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
144 lines (144 loc) · 5.01 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
sudo: required
language: cpp
matrix:
include:
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env:
- SNOWFLAKE_CLOUD_ENV=AWS
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
before_install:
- eval "${MATRIX_EVAL}"
- sudo apt-get update
- sudo apt-get install lcov
- openssl aes-256-cbc -k "$super_secret_password" -in parameters.json.enc -out
parameters.json -d
- pyenv install 3.6.3
- pyenv local 3.6.3
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- pip --version
- pip install -U virtualenv
- virtualenv env
- source env/bin/activate
script:
- "./scripts/run_travis.sh"
- bash <(curl -s https://codecov.io/bash)
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env:
- SNOWFLAKE_CLOUD_ENV=AZURE
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
before_install:
- eval "${MATRIX_EVAL}"
- sudo apt-get update
- sudo apt-get install lcov
- openssl aes-256-cbc -k "$super_duper_secret_password" -in parameters_az.json.enc
-out parameters.json -d
- pyenv install 3.6.3
- pyenv local 3.6.3
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- pip --version
- pip install -U virtualenv
- virtualenv env
- source env/bin/activate
script:
- "./scripts/run_travis.sh"
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env:
- SNOWFLAKE_CLOUD_ENV=AWS
- USE_VALGRIND=true
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
before_install:
- eval "${MATRIX_EVAL}"
- sudo apt-get update
- sudo apt-get install -y lcov
- sudo add-apt-repository -y ppa:msulikowski/valgrind
- sudo apt-get update -qq
- sudo apt-get install -qq valgrind
- openssl aes-256-cbc -k "$super_secret_password" -in parameters.json.enc -out
parameters.json -d
- pyenv install 3.6.3
- pyenv local 3.6.3
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- pip --version
- pip install -U virtualenv
- virtualenv env
- source env/bin/activate
script:
- "./scripts/run_travis.sh"
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env:
- SNOWFLAKE_CLOUD_ENV=AWS
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
- ENABLE_MOCK_OBJECTS="true"
before_install:
- eval "${MATRIX_EVAL}"
- sudo apt-get update
- sudo apt-get install lcov
- cp mock_parameters.json parameters.json
- pyenv install 3.6.3
- pyenv local 3.6.3
- curl -O https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
- pip --version
- pip install -U virtualenv
- virtualenv env
- source env/bin/activate
script:
- "./scripts/run_travis.sh"
- bash <(curl -s https://codecov.io/bash)
- os: osx
env:
- SNOWFLAKE_CLOUD_ENV=AWS
before_install:
- sw_vers
- brew update
- brew install jq
- openssl aes-256-cbc -k "$super_secret_password" -in parameters.json.enc -out
parameters.json -d
- python3 -m venv env
- source env/bin/activate
script:
- "./scripts/run_travis.sh"
- os: osx
env:
- SNOWFLAKE_CLOUD_ENV=AZURE
before_install:
- sw_vers
- brew update
- brew install jq
- openssl aes-256-cbc -k "$super_secret_password" -in parameters.json.enc -out
parameters.json -d
- python3 -m venv env
- source env/bin/activate
script:
- "./scripts/run_trav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