Update .travis.yml, pom.xml, and deploy_master.sh
This commit is contained in:
parent
ba343bbc49
commit
4c815e3786
@ -9,12 +9,6 @@ arch:
|
||||
- amd64
|
||||
- arm64
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: deploy
|
||||
name: "Deploy binaries to master"
|
||||
script: "bash travis/deploy_master.sh"
|
||||
|
||||
cache:
|
||||
bundler: true
|
||||
cocoapods: true
|
||||
@ -47,4 +41,5 @@ script: |
|
||||
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
||||
bash travis/win.sh;
|
||||
fi
|
||||
bash travis/deploy_master.sh
|
||||
|
||||
|
6
pom.xml
6
pom.xml
@ -1,9 +1,9 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>it.ernytech</groupId>
|
||||
<artifactId>tdlib</artifactId>
|
||||
<groupId>it.tdlight</groupId>
|
||||
<artifactId>tdlight-java</artifactId>
|
||||
<version>2.168.0</version>
|
||||
<name>JTDLib</name>
|
||||
<name>TDLight Java Wrapper</name>
|
||||
<packaging>jar</packaging>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
|
@ -1,5 +1,21 @@
|
||||
#!/bin/bash -e
|
||||
echo "Deployed"
|
||||
echo "$TRAVIS_OS_NAME"
|
||||
if [ "$TRAVIS_CPU_ARCH" = "arm64" ]; then
|
||||
export TRAVIS_CPU_ARCH_STANDARD="aarch64"
|
||||
else
|
||||
export TRAVIS_CPU_ARCH_STANDARD="${TRAVIS_CPU_ARCH,,}"
|
||||
fi
|
||||
export TRAVIS_OS_NAME_STANDARD="${TRAVIS_OS_NAME,,}"
|
||||
|
||||
echo "TRAVIS_OS_NAME: $TRAVIS_OS_NAME"
|
||||
echo "TRAVIS_OS_NAME_STANDARD: $TRAVIS_OS_NAME_STANDARD"
|
||||
echo "TRAVIS_CPU_ARCH: $TRAVIS_CPU_ARCH"
|
||||
echo "TRAVIS_CPU_ARCH_STANDARD: $TRAVIS_CPU_ARCH_STANDARD"
|
||||
|
||||
echo "$GIT_IGN_TRAVIS_DEPLOY_PRIVATE_KEY" > ~/.ssh/id_rsa
|
||||
|
||||
git clone "git@ssh.git.ignuranza.net:tdlight-team/tdlight-java-natives-$TRAVIS_OS_NAME_STANDARD-$TRAVIS_CPU_ARCH_STANDARD.git"
|
||||
cd "tdlight-java-natives-$TRAVIS_OS_NAME_STANDARD-$TRAVIS_CPU_ARCH_STANDARD"
|
||||
ls -alch
|
||||
|
||||
ls -alch $TRAVIS_BUILD_DIR/out
|
||||
ls -alch $TRAVIS_BUILD_DIR
|
||||
|
Loading…
Reference in New Issue
Block a user