forked from conda-forge/staged-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (36 loc) · 6.47 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
# The language in this case has no bearing - we are going to be making use of conda.
language: generic
jobs:
include:
- if: (fork IN (true)) OR (type IN (pull_request))
os: osx
osx_image: xcode9.4
- if: (fork IN (false)) AND (NOT (type IN (pull_request)))
os: linux
env:
global:
# Add the BINSTAR_TOKEN environment variable. (This is the "CI_upload2" token in anaconda.org web UI)
- secure: "ZwYbZztBRrZp9e0JZgLVbCmzj2sVoIwNxBDtru+PaYxXHdjXK1fTtS6KuhSL1fcoO/tGyLLJ9Ma/mEsV6mshGncajRFmikHdGhocOrBo3gWE10ypnP3t3FHcgeBeht7txUnIFFLkwWWOFzgkpb3y6wPYrraNIPdYgoOPDrSHPdJIxobN2HNUGqBIyuVfu9Q+Jt1SBxBX1q6fYW41rOEHPFTjm7E5Tu4GwTifEqD3olO8YCEel6gCI+E69dspnIo0pk8trcL4AH/YCq4nZc2FwyUJTiQC8qGoyufDo1mj4yz0V58GQtFwb5QUFdnXbN+t3wgx595KSQdymcthbpdcwRu38srMrM0F0nBVS1t+Rx7Z4Tsldt8j/vJZF2w6IYF9FZWXGTUbaUzOv8mpR0/RV6bKulCEW5LSC3eTTJPRG8kF1JPcommwBjNM+Spf5fXv5TIdSsx2Xs42BSKyc285Sum2Vb39Kxfg6NJZ1diPSMp4hlGw72IHFa/z6L6cwfjmbz6yLBFbvkMZUtoGsDlF9Wkuej99yIf+eCzDJBzXk48hYmEiX8QGu9GhwrNnj7NLvuPVEEpDbmbxtjaXoh4YclBWeVQet6xpvXk3mGbXVf+cwn8dCyCy6BHkTaGqa2O+EJgwv1QiR34GQLFeBuoXpeAOGazwWC3xt91X0JcCKbg="
# Add the GH_TOKEN environment variable. (This is the "staged-recipes" token for the conda-forge-bot user.)
- secure: "WcqfOcA4C+Au2D4KpzPiBaYHkO79FXccHMyu4msrCQaJbXUe26CbDGqvkTAJ2frf622VM6F/yEn3xUbGkiuoeXYsUaznBSXDoUe/FUAXF1L7dzcU/kLtujklizhlgKN2bVmKdDnZ5jpNcqKO1kq8qf5dRiscqaRH+PTWjziCYFYdh6+Ho/3n+kVAHA9aWI0VdqokkSiDuDzWxDUCtHnlPAO1fysYojelBZDbBYxge1dM8ymiF8A2Ae/LOjUpMYc+NCZMLmWgzHjiret9YOP4JoOY5bH+XeNNt81ab8CGmDEY52I4b2SqhydC7DVXAsdyeVKtSRb5snFmzBzu7FQh+IeVwLIGbu9sPxbUineINZelXqEQzbWMregUkLYfLnWtP9qbIzuQtL2TAS96fwePUQX4E5MTsJgnVYn4pBBOI6aZukOE7qq8r1bkGFpiuiMxyL37zWFrzK1uR1AZcg/cJkNXy3qQgyS06PVz889bMAHk+0uExrIzWteM8KNARco0bwvoZfENRxW2C46+mHinAXbhWOGbvKLKWvD/fvVUiGS/lvHRv2+yXt7DjnTXFQiHnHs+yHYU5CmxcRv0xNS70sWGGGT/+L9RBOeu1S/PQ+YaIk/PYKw34e/ztpLUiJQHIQhAlmtLNMb/lXDDaW+GsxIp1opbDSkM+sT2CBQjfyk="
# Add the CIRCLE_TOKEN environment variable. (This will need re-generating in the near future using the conda-forge-admin user)
- secure: "XL4LyXKdyrKDGLj5LbWyoZij3+p4qsxR8kRZyHaaDhes7QipDGTVgUVylFagsC0sdY8Osi19pY2oZnzDwfkO66lL0cswRUfjIs7XHDv7jMX3aIL1awykkp2YWJvUtqw2yY58nRRcAoWXWuaIKa7gjBm8b2Rnx60GWwudEqzCsNjq29uePYHQyRSwHbK99mliwVz7TLt994S41TJzAp+expRvBO/bvBnDvDK1ZAm0P6v5HSCJJt8or+PmP5Au8LuEIIZbKM2KmQeaWqkYz09f4NWuA/lVqaQucv+eR/46QXWhLyp4pC56xeD/oTfi48u4skjLlRamtLKQ3YspL7fuKYtV+EGKwY/xAUyeLei10kE2OaBr66S+OhUkQYSgkeqdJuvKznImqCF4CGYyoOmdqqDy8lXVi2VcTqzHT8UxdVpc6CPiifczIAii34qdbpcUQRFnYm+5tWBQ8F1swM5ZihIE7t9wl3eoHjNxTFxF65DlNoUkHUfWb08luof83kNQapI9P8oplmrw46MAQFbd54NPbRruExvimCQm3FXbrWi0vLUzNcEn7QIautZJMpW8MKkQZBzlIpkH9P2THZcqvoJLx2uuKaF982vYnrgqgegxzIw10MIUUsTXF3jXdLPh9yo/4ewvK3G9SmJaidUmyoAPJrbej9Y25nMYYzOFDxo="
# Add the APPVEYOR_TOKEN environment variable for the "conda-forge" AppVeyor user.
- secure: "GROiBt5zib8ZYg2CqLJMdfIRgFxqYX7rPbzedtHU7L+YTEsacj/HbbzEwWVysMwDoMs5MWGlOoK6c0yCZEVrD5WisE2PN3xLTNzJkNSqPyHH4SLY3+LgVo6416sP3kNh3xftmeyY5pWSX3WhFLaI+BdPZNSYSatfcQcqsJRn3KHeWaDwUFjYxhJ4jVsZB+ELFQAlLU3gpC5yCKXOaB9BMwLSJai8a9BGpfSFjkOzr9RgeAdaZutHYEmmHpv91sjtS/GC9Jw6991L/58KWHqe+NxURg3HIziYWoZxYiRFojN4A9Bn+n4FbzWOA/ELOG+D95P9JeYpq+IS3g0j2a14J9UQK7sz6Rqa/niO7pkYBPn1Wp+rOyaw1Ietmcnu3OzK6cD8BBQH0D/4IRxNDgBKf3oUyt2fVAqgpm6LQ//yUaD7alvj7Z0oaGC1MQwooiF/3Bz6fcxE+dmIECVsDFrJ2+sBad3gm2fuHP0Ng33ZyoIn0ehu2Byrc0FB6/lXYUmIDxEhpQQDL0Qs6IBQV5uXolPrDZAhOlhzLg4OFvDABkUFehwroHJSRRjtSU8Ok0GAiiaInteMatTvmoyPYJ8TM+fElOqXnZU07UlZ4cqCM1v2MyZE4JOW0gR6lBm7XjbI1jbo2Etf+CQMYCf6f2HcnTBAHhvBIxJWaJRAWYVnq0c="
# Add the TRAVIS_TOKEN environment variable for the "cf-blacksmithy" Travis user. Username is hardcoded in create_feedstocks.py
- secure: "NQaj5ZUirOIm86EQNmf84EnjbiBVQ52Xq0u3ZlCY0ZuoqbMiGNXJpWZOLugiF8QaOUr48QTtAj9UjKJMO/cjcEyrrEhhicLN9mWoxNPs0ZsPjTeQY0VBxejsqg8dlTXT30n/ibmrYo4w0oXZnZlKQntvD/DAH9jN6W+ZQSnEK7YEWOAOsqCQrAYowXpiKmasveBDiZYqT06Fq9R5OzL1gza3fnQZkIGEYyVQOPOeYI7Z3DbVIR01oMwlNnSamIDH6rh4bEsIYsAEpBwwtZpmQAFsqWYoBfwLiJDC9LPEoguaCybVz51av3EEqPWu8CMmt8KtF36cwCyajGb5KCE7c9rkfq7WE0EonWK5b+3NhoiCiMg3uF3UfoGUJTg4xBu9Ece8DTdI835wiYNFx5W/6o51ZyfLFFpwBoJxBj1TUeS9U/zZHiLNyImStNZkK2Cjyu06wNCKEtpggC2DX00aGhHAMmDymEbRnQQltNh4MT0mhhGbIoqLJflQlOboqheElnbuo+uHRqZNB//3H2QMHbEQvG8XM3JoMMwJUakoR6DeM1TpjCIB+7CXgAZ83L+KhTolCNe9+pr7wyxLpfGQVUz1TFe2sffGxss2Z9FdIwVDmRwMN9B7KGK5euZsHKERXni19PG5Bjud/8gAGZCtFe43KWuYxUMwXyJ7bJVx7Ok="
# Add the GH_TRAVIS_TOKEN environment variable for the "cf-blacksmithy" Travis user
- secure: "FLt1rYmNUTuL56kzhd+reLFk9OHQaJD79e2hItmnhXp2gGKalNkxasMhs4UboTnwzrDe9ymu+Oem47u5PvI6r/wenS8nT/o1y5klh2APi8gqjTFk2zWeDl5lhpH30k8KS15EMQBpU6jfGAER025GeNVaO3HT0ogoavf06106CuqNkrsJHCZvW2WTPXe1sDonmUNWbG3jifdLVy4CdzVQThRgzG8i/xh8IZd8205B+G2jivZhmWbCcS5JdA3tKzeVr0zztlyi5V5MlQm4hQ3UP8WlmEQ0m3+S0Ab7cXn1AhKDw5YvVaPNpyuDVe+qXMZEiCn2zVnCUvh5XJdvCfN0twxhM2Qv/q+KpIjKYR78TjlXuEc1YCITrTbHKUDW2G5i0AvnGQC7aBMNKHUvMFEso82I9+WMcm1SVydl4fo2B9wLb1Bi5FTiUO8IUsfdmuZZYqvRaLa1n1AhJ76v9hBMWePmxs0Uwh0g5tHO1hIe45X5XEQKy3hRXCo4k9M28esWloUzbTisczafcY2R5ofo58rfI+aqVzArSCF1KF+UgBkL2HJPQQsl+SBh2Lv3jC6vBWiQczwwRTHZKIsnwKj8VWlDpJHHEDpIK32PniYWpDmxA7+dKV7DHHctiYaxDkVEBlE11TXGik8HbTQuC3mL7ANSTtWaaDv2UWr9RTnXSzI="
# Add the AZURE_TOKEN environment variable used to manage pipelines on azure devops, This token is presently tied to the conda-forge azure org and owned by
# @mariusvniekerk's microsoft account. Once azure has github user integration this should change.
- secure: "Ipgy/RvDbwUuFUXZ02RtwH0YFLJCy8F9b+OomO+ITn8lt6H5f3SHKC20qKXWsr0r1VNS0gX0VoWaALtsma7j1biHuWy320f1wuW8zmc/+mOFN8yWdp8cohYLOAAhmRaeNxIxMWpVSREgxdiJdMDvj8aUkuB/U6c/cDv/Y7rFp+MA1BJWo3pCBRu8iFbKN0gwWzwfxu4aQcD+7tTNLVc4EDRSzCeCOJ9tafGl7of1s0s64U5yt1yIeb8jF+DVmiZ6KlwcQAnZgfZ174NWywO2ekccDan93msob1okdHbvXK+6ZT9ZfA0w2KahrNtrO9ve0ArEK3PAjE8DJgsVqRZLYCnJrHz4TAuC2qRum7vUJc50xELvPbqiT/2SkURN8JWoerrs1l2l+O06ph4sgIH8zthmAvly7JAgvFZrSmXOd/9zVYbT3MNMCIGSkCz4r+tE/X66AkWjp4JwqttVo1ayer20aVJLuYiTh8NGAyWHLsMseF89zxFr0VrBpgQ1Vl70hjxXt9xE5NLn9Aecg8bfU48IR8RFRPcDXeTiQhoUqpCJbdZMRzuc0Bm1DwfTkFYE3MVJC2XZKPsiDCj6VcTsWXgaZHQKZ5jeo5PFdmVuuye2PuSexN3X5npqjv7G9kNu8ahgqr3p77RWAwpbcjShJ+Xi/L8DyQUesFgf/yyHDBI="
script:
- if [ -n "$GH_TOKEN" ]; then
echo "Creating feedstocks from the recipe(s).";
git config --global user.name "Travis-CI on github.com/conda-forge/staged-recipes";
git config --global user.email "[email protected]";
source ./.travis_scripts/create_feedstocks;
else
echo "Building all recipes.";
source ./.travis_scripts/build_all;
fi