Skip to content

Commit

Permalink
Build 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Nov 18, 2016
1 parent a585d1d commit 3e0a297
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ before_script:
script:
- git clone https://github.com/openturns/openturns.git
- pushd openturns
- git checkout v1.8rc2
- git checkout v1.8
- pushd distro/windows
- tar xzf /tmp/openturns-developers-windeps-1.8.tar.gz
- make ot-module-installer PYBASEVER=$PYBASEVER ARCH=$ARCH
Expand All @@ -53,6 +53,14 @@ script:
- cp -v *.exe ${TRAVIS_BUILD_DIR}
- popd
- popd
- git clone https://github.com/openturns/otlm.git
- pushd otlm
- git checkout v0.2
- pushd distro/windows
- make PYBASEVER=$PYBASEVER ARCH=$ARCH CHECK_OT=n OT_PREFIX=$PWD/../../../openturns/build-$ARCH-w64-mingw32/install
- cp -v *.exe ${TRAVIS_BUILD_DIR}
- popd
- popd
- git clone https://github.com/openturns/otmorris.git
- pushd otmorris
- git checkout v0.1
Expand Down Expand Up @@ -85,14 +93,6 @@ script:
- cp -v *.exe ${TRAVIS_BUILD_DIR}
- popd
- popd
- git clone https://github.com/openturns/otlm.git
- pushd otlm
- git checkout v0.2
- pushd distro/windows
- make PYBASEVER=$PYBASEVER ARCH=$ARCH CHECK_OT=n OT_PREFIX=$PWD/../../../openturns/build-$ARCH-w64-mingw32/install
- cp -v *.exe ${TRAVIS_BUILD_DIR}
- popd
- popd

env:
matrix:
Expand All @@ -108,7 +108,7 @@ deploy:
api_key:
secure: JbTI9D1q5LuGrIvKNo6H/F1jPtq9pZNAlqglC0N3gEYQ4L+tmHfGOFxSRdsUaz7j/CgVTjmvKYtrAcYbTKjP7yN6RHS7dX9OvEWFpk3kyTwB9WUQhzew4ccT3sYjdtqlHqdtEcHOGBOA679xm7vIWyP2I7bjCus4gQXJFt53Bn40LZUiTwDg8kYjRleALrOlVetaMGnXRQIh27PlQDqSKUcJ7yyxHY1gkLQ4+gpTA3v2jstaMgI/+TZoqyQjYb66FWmQjOw/FP1ZF0xbTCm9nfXPNbf3Ha81uzQWu5eyJtrs/4kLv6bcNmurBHWxypGPWTJipBFp/129cJ+JgkOXHn/vmQtSupofknVwS5lt2rn36CHPpnD1377uT7WBtFDtuPn1raihqoj2o9jo3uv6aoFHr0qvLQPxnz3rt8SIbxPSGyQmYEc3u4ZTXwyU6i8ZGJJek7mEpuZZsHpQ1/KZjlX6V3ZMwoygE1o/LS4RCnGGZxBnf/6mFSBU8doC3amOHzqskBlotLowXMl++6I1lDCeSCRsUC2QkqsGG5KmYFJlStMzwhp/djdy2GcsIkip0eOh4g2b75iAEaLWBgclxvm013vTmjNdanir1gIBDvO2XmdifcpV24b7eUbg1vBy1vLkH4ZAFotRVehpPu7BnsA8nEDAsyJzf4O8nAbIRic=
file:
- ${TRAVIS_BUILD_DIR}/openturns-1.8rc2-py${PYBASEVER}-${ARCH}.exe
- ${TRAVIS_BUILD_DIR}/openturns-1.8-py${PYBASEVER}-${ARCH}.exe
- ${TRAVIS_BUILD_DIR}/otfftw-0.3-py${PYBASEVER}-${ARCH}.exe
- ${TRAVIS_BUILD_DIR}/otlhs-1.3-py${PYBASEVER}-${ARCH}.exe
- ${TRAVIS_BUILD_DIR}/otmorris-0.1-py${PYBASEVER}-${ARCH}.exe
Expand Down
14 changes: 12 additions & 2 deletions upload_sf.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
#!/bin/sh

release=1.8rc2
release=1.8
for _basename in openturns-${release} otfftw-0.3 otlhs-1.3 otmorris-0.1 otpmml-1.3 otrobopt-0.1 otsvm-0.2 otlm-0.2
do
project=`echo "${_basename}" | cut -d '-' -f 1`
version=`echo "${_basename}" | cut -d '-' -f 2`

# source
wget -c https://github.com/openturns/${project}/archive/v${version}.tar.gz -P /tmp

# exe
for pybasever in 2.7 3.4 3.5
do
for _arch in i686 x86_64
Expand All @@ -13,4 +20,7 @@ do
done
done

# scp /tmp/${_file} $1@frs.sourceforge.net:/home/frs/project/openturns/openturns/openturns-${release}
sha256sum /tmp/*.exe
sha256sum /tmp/*.tar.gz

# scp /tmp/${_file} $1@frs.sourceforge.net:/home/frs/project/openturns/openturns/openturns-${release}

0 comments on commit 3e0a297

Please sign in to comment.