Compare commits

..

5 Commits

Author SHA1 Message Date
Mark Liversedge
feac0e86db VERSION 3.5 RELEASE CANDIDATE 2X
.. fix save ridecache
.. regenerate on first run to fix
2019-12-08 08:40:34 +00:00
Alejandro Martinez
c39b01279a Fix Travis-ci Linux builds
The ppa for vlc 2.2.8 is no longer available, fallback to vlc 2.2.2
2019-12-07 23:38:17 -03:00
Ale Martinez
9fec594d41 RideCach::save uses item instead of intervals to access interval metrics
This error was introduced in fa9a59d60c
Fixes #3244
2019-12-07 19:44:25 -03:00
Ale Martinez
14ee925645 travis-ci - define GC version string only for tagged builds
Commplements previous commit used to get binaries with version strings
once the tag was already set.
2019-12-06 12:10:54 -03:00
Ale Martinez
c2f3f2b8e2 Define GC version string for travis-ci builds
Next commit will do this only for tagged builds
2019-12-06 10:31:58 -03:00
6 changed files with 13 additions and 10 deletions

View File

@@ -96,6 +96,7 @@
// 3970 - V3.5 DEVELOPMENT 1903
// 3980 - V3.5 RC1
// 3981 - V3.5 RC2
// 3982 - V3.5 RC2X
#define VERSION3_BUILD 3010 // released
@@ -106,14 +107,14 @@
#define VERSION32_BUILD 3200 // released
#define VERSION33_BUILD 3933 // development release
#define VERSION34_BUILD 3955 // released
#define VERSION35_BUILD 3981 // rc2
#define VERSION35_BUILD 3982 // rc2x
// will keep changing during testing and before final release
#define VERSION31_BUILD VERSION31_UPG
// the next two will with each build/release
#define VERSION_LATEST 3981
#define VERSION_STRING "V3.5 RC2"
#define VERSION_LATEST 3982
#define VERSION_STRING "V3.5 RC2X"
// default config for this release cycle
#define VERSION_CONFIG_PREFIX "http://www.goldencheetah.org/defaults/4.0"

View File

@@ -824,10 +824,10 @@ void RideCache::save(bool opendata, QString filename)
// if count is 0 don't write it
} else if (interval->counts()[index] == 0) {
stream << ConstructNameNumberString(QString("\t\t\t\""), name,
QString("\":\""), item->metrics()[index], QString("\""));
QString("\":\""), interval->metrics()[index], QString("\""));
} else {
stream << ConstructNameNumberNumberString(QString("\t\t\t\""), name,
QString("\":[\""), item->metrics()[index], QString("\",\""), item->counts()[index], QString("\"]"));
QString("\":[\""), interval->metrics()[index], QString("\",\""), interval->counts()[index], QString("\"]"));
}
}
}

View File

@@ -160,7 +160,8 @@
// 150 28 Mar 2019 Ale Martinez Additional Running Dynamics metrics
// 151 14 May 2019 Ale Martinez Added Time Recording and use it in Time in Zone Percentage
// 152 20 May 2019 Ale Martinez Fixed Time in Zone Percentages to aggregate properly
int DBSchemaVersion = 152;
// 153 8 Dec 2019 Mark Liversedge Regenerate after v3.5 RC2/RC2X re-issue
int DBSchemaVersion = 153;
RideMetricFactory *RideMetricFactory::_instance;
QVector<QString> RideMetricFactory::noDeps;

View File

@@ -10,9 +10,7 @@ sudo apt-get install -qq libglu1-mesa-dev libgstreamer0.10-0 libgstreamer-plugin
sudo apt-get install -qq libssl-dev libsamplerate0-dev libpulse-dev
sudo apt-get install -qq libical-dev libkml-dev libboost-all-dev
# Add VLC 2.2.8
sudo add-apt-repository -y ppa:jonathonf/vlc
sudo apt-get update -qq
# Add VLC 2.2.2
sudo apt-get install -qq vlc libvlc-dev libvlccore-dev
# R 3.6

View File

@@ -4,6 +4,8 @@ export PATH=/opt/qt59/bin:$PATH
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
cp src/gcconfig.pri.in src/gcconfig.pri
# Define GC version string, only for tagged builds
if [ -n "$TRAVIS_TAG" ]; then echo DEFINES += GC_VERSION=VERSION_STRING >> src/gcconfig.pri; fi
# user WEBENGINE
echo DEFINES += NOWEBKIT >> src/gcconfig.pri
# Trusty needs C99 mode to enable declarations in for loops

View File

@@ -21,7 +21,8 @@ cd ..
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
cp src/gcconfig.pri.in src/gcconfig.pri
/usr/local/opt/qt5/bin/lupdate src/src.pro
# Define GC version string, only for tagged builds
if [ -n "$TRAVIS_TAG" ]; then echo DEFINES += GC_VERSION=VERSION_STRING >> src/gcconfig.pri; fi
echo DEFINES += NOWEBKIT >> src/gcconfig.pri
sed -i "" "s|#\(CONFIG += release.*\)|\1 static |" src/gcconfig.pri
sed -i "" "s|#\(QMAKE_LRELEASE\).*|\1 += /usr/local/opt/qt5/bin/lrelease|" src/gcconfig.pri