Skip to content

Commit

Permalink
Build 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Nov 15, 2017
1 parent 4407d9a commit 91981dd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
32 changes: 18 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
language: cpp
sudo: required
dist: trusty

env:
global:
- VERSION=1.10

matrix:
include:
- env: PYBASEVER=2.7 ARCH=i686
- env: PYBASEVER=2.7 ARCH=x86_64
- env: PYBASEVER=3.5 ARCH=i686
- env: PYBASEVER=3.5 ARCH=x86_64
- env: PYBASEVER=3.6 ARCH=i686
- env: PYBASEVER=3.6 ARCH=x86_64

addons:
apt:
Expand All @@ -10,6 +22,7 @@ addons:
- xvfb

before_install:
- echo "VERSION=v${VERSION}"
- sudo add-apt-repository ppa:ubuntu-wine/ppa -y
- sudo dpkg --add-architecture i386 && sudo rm /etc/apt/sources.list.d/google-chrome.list
- sudo apt-get update -q
Expand All @@ -33,32 +46,23 @@ before_script:
script:
- git clone https://github.com/openturns/openturns.git
- pushd openturns
- git checkout v1.10rc1
- git checkout v${VERSION}
- pushd distro/windows
- tar xzf /tmp/openturns-developers-windeps-1.10.tar.gz
- make ot-module-installer PYBASEVER=$PYBASEVER ARCH=$ARCH JOBS_COTIRE=8
- sha256sum *.exe
- cp -v *.exe ${TRAVIS_BUILD_DIR}
- cp -v openturns-mingw-1.10rc1-py${PYBASEVER}-${ARCH}.tar.bz2 ${TRAVIS_BUILD_DIR}
- cp -v openturns-mingw-${VERSION}-py${PYBASEVER}-${ARCH}.tar.bz2 ${TRAVIS_BUILD_DIR}
- popd
- popd

env:
matrix:
- PYBASEVER=2.7 ARCH=i686
- PYBASEVER=2.7 ARCH=x86_64
- PYBASEVER=3.5 ARCH=i686
- PYBASEVER=3.5 ARCH=x86_64
- PYBASEVER=3.6 ARCH=i686
- PYBASEVER=3.6 ARCH=x86_64

deploy:
provider: releases
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.10rc1-py${PYBASEVER}-${ARCH}.exe
- ${TRAVIS_BUILD_DIR}/openturns-mingw-1.10rc1-py${PYBASEVER}-${ARCH}.tar.bz2
- ${TRAVIS_BUILD_DIR}/openturns-${VERSION}-py${PYBASEVER}-${ARCH}.exe
- ${TRAVIS_BUILD_DIR}/openturns-mingw-${VERSION}-py${PYBASEVER}-${ARCH}.tar.bz2
repo: openturns/build
skip_cleanup: true
on:
Expand Down
5 changes: 1 addition & 4 deletions upload_sf.sh → download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

user=$1

release=1.9
release=1.10
for _basename in openturns-${release}
do
project=`echo "${_basename}" | cut -d '-' -f 1`
Expand All @@ -21,8 +21,5 @@ do
done
done

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

sha256sum /tmp/*.tar.gz
sha256sum /tmp/*.exe

0 comments on commit 91981dd

Please sign in to comment.